Redo Use implicit wxColour to wxBrush conversion
This commit is contained in:
@@ -1788,7 +1788,7 @@ void MyCanvas::Draw(wxDC& pdc)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
gdc.SetBackground(wxBrush(GetBackgroundColour(),wxBRUSHSTYLE_SOLID));
|
gdc.SetBackground(GetBackgroundColour());
|
||||||
gdc.SetGraphicsContext(context);
|
gdc.SetGraphicsContext(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user