From 64b9776ca61d8d589da77c1524ae8ae9425dd826 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Fri, 14 Sep 2007 17:23:43 +0000 Subject: [PATCH 1/1] scrolling windows need wx[HV]SCROLL style git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 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 f6295f5981..fb1bd8bafa 100644 --- a/demos/life/life.cpp +++ b/demos/life/life.cpp @@ -693,7 +693,7 @@ void LifeNavigator::OnClose(wxCloseEvent& event) // canvas constructor LifeCanvas::LifeCanvas(wxWindow *parent, Life *life, bool interactive) : wxWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(100, 100), - wxFULL_REPAINT_ON_RESIZE + wxFULL_REPAINT_ON_RESIZE | wxHSCROLL | wxVSCROLL #if !defined(__SMARTPHONE__) && !defined(__POCKETPC__) |wxSUNKEN_BORDER #else -- 2.47.2