Redo Use implicit wxColour to wxBrush conversion

This commit is contained in:
Stefan Csomor
2017-06-28 07:22:54 +02:00
parent 1985fca987
commit a6ba2245ef

View File

@@ -1788,7 +1788,7 @@ void MyCanvas::Draw(wxDC& pdc)
return;
}
gdc.SetBackground(wxBrush(GetBackgroundColour(),wxBRUSHSTYLE_SOLID));
gdc.SetBackground(GetBackgroundColour());
gdc.SetGraphicsContext(context);
}