From 28efed0faa4df16afede5dec90ffed3089990b69 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 12 Oct 2001 06:16:12 +0000 Subject: [PATCH] make the main dialog resizeable git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/notebook/notebook.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.50.0