From ae2f2a1ece3b62a734b1c40d0d989fad49e075dc Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 9 Aug 2014 16:18:30 +0000 Subject: [PATCH] fixing background style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/life/life.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/life/life.cpp b/demos/life/life.cpp index bb19df3cd5..0f864f8b00 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -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()