diff --git a/samples/mdi/mdi.cpp b/samples/mdi/mdi.cpp index 4dbb0c058b..d47b5f2ac1 100644 --- a/samples/mdi/mdi.cpp +++ b/samples/mdi/mdi.cpp @@ -55,7 +55,7 @@ bool MyApp::OnInit(void) // Create the main frame window frame = new MyFrame((wxFrame *) NULL, -1, (char *) "MDI Demo", wxPoint(-1, -1), wxSize(500, 400), - wxDEFAULT_FRAME | wxHSCROLL | wxVSCROLL); + wxDEFAULT_FRAME_STYLE | wxHSCROLL | wxVSCROLL); // Give it an icon #ifdef __WXMSW__