make the main dialog resizeable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b889a3a24b
commit
28efed0faa
@ -37,7 +37,8 @@ bool MyApp::OnInit()
|
|||||||
{
|
{
|
||||||
// Create the main window
|
// Create the main window
|
||||||
#if USE_TABBED_DIALOG
|
#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();
|
dialog->ShowModal();
|
||||||
delete dialog;
|
delete dialog;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user