set the background brush to the window's background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -92,6 +92,7 @@ void wxShapeCanvas::OnPaint(wxPaintEvent& event)
|
||||
|
||||
PrepareDC(dc);
|
||||
|
||||
dc.SetBackground(wxBrush(GetBackgroundColour(), wxSOLID));
|
||||
dc.Clear();
|
||||
|
||||
if (GetDiagram())
|
||||
|
Reference in New Issue
Block a user