From ffd838f3ba434b3e047f90ba552d35016eb969e4 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Sun, 13 May 2018 13:48:40 -0500 Subject: [PATCH] Fix assignment to not use copy constructor --- src/GUI/AboutDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);