mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-03 02:00:39 +08:00
Fix assignment to not use copy constructor
This commit is contained in:
parent
9bbee7a627
commit
ffd838f3ba
@ -83,7 +83,7 @@ AboutDialogLogo::AboutDialogLogo(wxWindow* parent) :
|
||||
|
||||
void AboutDialogLogo::repaint(wxPaintEvent& event)
|
||||
{
|
||||
auto dc = wxPaintDC(this);
|
||||
wxPaintDC dc(this);
|
||||
|
||||
dc.SetBackgroundMode(wxPENSTYLE_TRANSPARENT);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user