From ee710d75b89a7b172389c67267c7737952f0ba5c Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Wed, 19 Nov 2003 22:39:52 +0000 Subject: [PATCH] Fixed repainting problems when resizing window, now using wxFULL_REPAINT_RESIZE flag (At least wxMSW and wxMac had this problem). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- demos/life/life.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/life/life.cpp b/demos/life/life.cpp index 43e7414f3a..cd6c32d693 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -673,7 +673,7 @@ void LifeNavigator::OnClose(wxCloseEvent& event) // canvas constructor LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive) : wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100), - wxSUNKEN_BORDER) + wxSUNKEN_BORDER|wxFULL_REPAINT_ON_RESIZE) { m_life = life; m_interactive = interactive;