]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/notebook/notebook.cpp
patch from Søren Erland Vestø for additional wxCalendarCtrl styles (also moved them...
[wxWidgets.git] / samples / notebook / notebook.cpp
index eeb65f56d427b1e268e9fdd2da46455fa9e4941b..e4c5f0eb4d14941b161558166782d69f915a0f2f 100644 (file)
@@ -37,7 +37,8 @@ bool MyApp::OnInit()
 {
   // Create the main window
 #if USE_TABBED_DIALOG
-  dialog = new MyDialog((wxFrame *) NULL, -1, (char *) "Notebook", wxPoint(-1, -1), wxSize(365, 390), wxDIALOG_MODAL|wxDEFAULT_DIALOG_STYLE);
+  dialog = new MyDialog((wxFrame *) NULL, -1, "Notebook", wxPoint(-1, -1), wxSize(365, 390),
+                        wxRESIZE_BORDER);
   dialog->ShowModal();
   delete dialog;