]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
mac cleanup, cgcolor changes
[wxWidgets.git] / demos / life / life.cpp
index f9d00eac7984b55aa091548614c93cbada4b3ecc..fb1bd8bafad3c729a3db0fbc89d8823655de6f08 100644 (file)
@@ -263,7 +263,7 @@ LifeFrame::LifeFrame() :
     toolBar->AddSeparator();
 #endif // __POCKETPC__
     ADD_TOOL(ID_START, tbBitmaps[5], _("Start"), _("Start"));
-    ADD_TOOL(wxID_STOP, tbBitmaps[6], wxSTOCK_NOFLAGS, _("Stop"));
+    ADD_TOOL(wxID_STOP, tbBitmaps[6], _("Stop"), _("Stop"));
 
     toolBar->Realize();
     toolBar->EnableTool(wxID_STOP, false);    // must be after Realize() !
@@ -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