X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f6c54eb076d760cbb6fb15e899f15fbbd575850..f803b25b44072e1dc84edc27e3cdae9e34c26edf:/samples/tab/tab.cpp?ds=sidebyside diff --git a/samples/tab/tab.cpp b/samples/tab/tab.cpp index 055ebf099d..7b37b5c06e 100644 --- a/samples/tab/tab.cpp +++ b/samples/tab/tab.cpp @@ -39,7 +39,7 @@ bool MyApp::OnInit(void) { // Create the main window #if USE_TABBED_DIALOG - dialog = new MyDialog((wxFrame *) NULL, -1, (char *) "Tabbed Dialog", wxPoint(-1, -1), wxSize(365, 390), wxDIALOG_MODAL|wxDEFAULT_DIALOG_STYLE); + dialog = new MyDialog((wxFrame *) NULL, wxID_ANY, (char *) "Tabbed Dialog", wxPoint(-1, -1), wxSize(365, 390)); dialog->ShowModal();