diff --git a/samples/minimal/minimal.cpp b/samples/minimal/minimal.cpp index 21de2655b9..bfdab39f85 100644 --- a/samples/minimal/minimal.cpp +++ b/samples/minimal/minimal.cpp @@ -81,7 +81,7 @@ private: enum { // menu items - Minimal_Quit = 1, + Minimal_Quit = wxID_EXIT, // it is important for the id corresponding to the "About" command to have // this standard value as otherwise it won't be handled properly under Mac @@ -122,7 +122,7 @@ bool MyApp::OnInit() // create the main application window MyFrame *frame = new MyFrame(_T("Minimal wxWindows App"), #ifdef __WXWINCE__ - wxPoint(0, 0), wxDefaultSize, wxNO_BORDER|wxSYSTEM_MENU); + wxDefaultPosition, wxDefaultSize, wxNO_BORDER|wxSYSTEM_MENU|wxCLIP_CHILDREN); #else wxPoint(50, 50), wxSize(450, 340)); #endif diff --git a/samples/minimal/minimal.rc b/samples/minimal/minimal.rc index 3bf71d6da0..7655c62a4c 100644 --- a/samples/minimal/minimal.rc +++ b/samples/minimal/minimal.rc @@ -1,6 +1,3 @@ mondrian ICON "mondrian.ico" #include "wx/msw/wx.rc" -#define MINIMAL_QUIT 1 -#define MINIMAL_ABOUT 102 -