diff --git a/src/GUI/AboutDialog.cpp b/src/GUI/AboutDialog.cpp index 23e893588..52d8897a9 100644 --- a/src/GUI/AboutDialog.cpp +++ b/src/GUI/AboutDialog.cpp @@ -83,7 +83,7 @@ AboutDialogLogo::AboutDialogLogo(wxWindow* parent) : void AboutDialogLogo::repaint(wxPaintEvent& event) { - auto dc = wxPaintDC(this); + wxPaintDC dc(this); dc.SetBackgroundMode(wxPENSTYLE_TRANSPARENT);