fixing background style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -724,6 +724,7 @@ LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
|
|||||||
|
|
||||||
// reduce flicker if wxEVT_ERASE_BACKGROUND is not available
|
// reduce flicker if wxEVT_ERASE_BACKGROUND is not available
|
||||||
SetBackgroundColour(*wxWHITE);
|
SetBackgroundColour(*wxWHITE);
|
||||||
|
SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||||
}
|
}
|
||||||
|
|
||||||
LifeCanvas::~LifeCanvas()
|
LifeCanvas::~LifeCanvas()
|
||||||
|
Reference in New Issue
Block a user