]> git.saurik.com Git - wxWidgets.git/blobdiff - demos/life/life.cpp
Further WinCE adaptations
[wxWidgets.git] / demos / life / life.cpp
index 5dc05609ee3848bda644f2a975ce010c1562f92d..62a42a72e71cf51d8ccc0205e4e1c1f79dd0cee4 100644 (file)
@@ -689,7 +689,13 @@ 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|wxFULL_REPAINT_ON_RESIZE)
+            wxFULL_REPAINT_ON_RESIZE
+#if !defined(__SMARTPHONE__) && !defined(__POCKETPC__)
+            |wxSUNKEN_BORDER
+#else
+            |wxSIMPLE_BORDER
+#endif
+            )
 {
     m_life        = life;
     m_interactive = interactive;