X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a85dda4ad8ebe4d1529e8e117dc326d89f8daec0..c1a4ce66a6d0f5830bd80573963dc072f81e6813:/samples/notebook/notebook.cpp diff --git a/samples/notebook/notebook.cpp b/samples/notebook/notebook.cpp index 1fc248501e..62dcd75b0a 100644 --- a/samples/notebook/notebook.cpp +++ b/samples/notebook/notebook.cpp @@ -34,6 +34,9 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + #if wxUSE_HELP wxHelpProvider::Set( new wxSimpleHelpProvider ); #endif @@ -427,7 +430,6 @@ void MyFrame::RecreateBook() if ( m_multi && m_type == Type_Notebook ) flags |= wxNB_MULTILINE; - flags |= wxDOUBLE_BORDER; wxBookCtrlBase *oldBook = m_bookCtrl;