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:
parent
50d539499b
commit
ae2f2a1ece
@ -724,6 +724,7 @@ LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive)
|
||||
|
||||
// reduce flicker if wxEVT_ERASE_BACKGROUND is not available
|
||||
SetBackgroundColour(*wxWHITE);
|
||||
SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||
}
|
||||
|
||||
LifeCanvas::~LifeCanvas()
|
||||
|
Loading…
Reference in New Issue
Block a user