X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/563c26064082bc96ad99cd816503e2607fb7e1e5..758bce950ba9236d0a9edc4c880c3ec73b5173f3:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index eeb65f56d4..e4c5f0eb4d 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -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;