X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47bde6fb00a9d5ceb5a6da63145ebc1d87f6f503..b70362998b8f562923f6ed6708f06537ac056cd4:/samples/html/htmlctrl/htmlctrl.cpp?ds=inline diff --git a/samples/html/htmlctrl/htmlctrl.cpp b/samples/html/htmlctrl/htmlctrl.cpp index 11d195c143..c003f9cb19 100755 --- a/samples/html/htmlctrl/htmlctrl.cpp +++ b/samples/html/htmlctrl/htmlctrl.cpp @@ -125,6 +125,9 @@ IMPLEMENT_APP(MyApp) // 'Main program' equivalent: the program execution "starts" here bool MyApp::OnInit() { + if ( !wxApp::OnInit() ) + return false; + // create the main application window MyFrame *frame = new MyFrame(_T("wxWebKit Sample"));