bool MyApp::OnInit()
{
+ if ( !wxApp::OnInit() )
+ return false;
+
#if wxUSE_HELP
wxHelpProvider::Set( new wxSimpleHelpProvider );
#endif
m_panel->SetSizer(m_sizerFrame);
- m_sizerFrame->Fit(this);
m_sizerFrame->SetSizeHints(this);
Centre(wxBOTH);
if ( m_multi && m_type == Type_Notebook )
flags |= wxNB_MULTILINE;
- flags |= wxDOUBLE_BORDER;
wxBookCtrlBase *oldBook = m_bookCtrl;