X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2d0790b1a14b530531f5f6cfc269107f796aba2..d22c8abecde2c2fc9ef3028e2166d751c896d2ff:/samples/tab/tab.cpp diff --git a/samples/tab/tab.cpp b/samples/tab/tab.cpp index c581ac1760..7b37b5c06e 100644 --- a/samples/tab/tab.cpp +++ b/samples/tab/tab.cpp @@ -6,7 +6,7 @@ // Created: 01/02/97 // RCS-ID: $Id$ // Copyright: (c) -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // For compilers that support precompilation, includes "wx.h". @@ -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();