X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef2992354cd82ec5f4c42ff380a8824c29d93ee0..c13b1125efe8f57220010e224c76de163b4fcf95:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 7943c7a028..b8b321e100 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; @@ -58,7 +59,7 @@ bool MyApp::OnInit() #endif } -void MyApp::InitTabView(wxNotebook* notebook, wxPanel* window) +void MyApp::InitTabView(wxNotebook* notebook, wxWindow* window) { m_okButton = new wxButton(window, wxID_OK, "Close", wxPoint(-1, -1), wxSize(80, 25)); m_cancelButton = new wxButton(window, ID_DELETE_PAGE, "&Delete page", wxPoint(-1, -1), wxSize(80, 25));