- // Create the main application window
- MyFrame *frame = new MyFrame("Minimal wxWindows App",
- wxPoint(50, 50), wxSize(450, 340));
+ // create the main application window
+ MyFrame *frame = new MyFrame(_T("Minimal wxWindows App"),
+#ifdef __WXWINCE__
+ wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxSYSTEM_MENU|wxCLIP_CHILDREN);
+#else
+ wxPoint(50, 50), wxSize(450, 340));
+#endif