X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/47bde6fb00a9d5ceb5a6da63145ebc1d87f6f503..21b2dde583e83d3ad455c20fa8db717037b5f548:/samples/html/htmlctrl/htmlctrl.cpp?ds=sidebyside diff --git a/samples/html/htmlctrl/htmlctrl.cpp b/samples/html/htmlctrl/htmlctrl.cpp old mode 100755 new mode 100644 index 11d195c143..c003f9cb19 --- 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"));