]> git.saurik.com Git - wxWidgets.git/commitdiff
scrolling windows need wx[HV]SCROLL style
authorPaul Cornett <paulcor@bullseye.com>
Fri, 14 Sep 2007 17:23:43 +0000 (17:23 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Fri, 14 Sep 2007 17:23:43 +0000 (17:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/life/life.cpp

index f6295f59819934f931aee84e27c1de314eaba937..fb1bd8bafad3c729a3db0fbc89d8823655de6f08 100644 (file)
@@ -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