]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
use wxJoin() instead of redoing it manually in the code logging the messages (part...
[wxWidgets.git] / 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