Fix assignment to not use copy constructor

This commit is contained in:
Joseph Lenox 2018-05-13 13:48:40 -05:00 committed by Joseph Lenox
parent 9bbee7a627
commit ffd838f3ba

View File

@ -83,7 +83,7 @@ AboutDialogLogo::AboutDialogLogo(wxWindow* parent) :
void AboutDialogLogo::repaint(wxPaintEvent& event)
{
auto dc = wxPaintDC(this);
wxPaintDC dc(this);
dc.SetBackgroundMode(wxPENSTYLE_TRANSPARENT);