X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20c81bed846981e90769826b94a91eebb91158f1..02b51ae521db06ef12a3c2a37a5378a9f715e707:/samples/html/helpview/helpview.cpp?ds=inline diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index 238deea26a..ba4c62925d 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -53,9 +53,6 @@ IMPLEMENT_APP(MyApp) bool MyApp::OnInit() { - if ( !wxApp::OnInit() ) - return false; - #ifdef __WXMOTIF__ delete wxLog::SetActiveTarget(new wxLogStderr); // So dialog boxes aren't used #endif @@ -84,8 +81,6 @@ bool MyApp::OnInit() help -> DisplayContents(); - SetTopWindow(help->GetFrame()); - return true; }