]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/help/help.cpp
add unit test for wxTextCtrl::SetSelection()
[wxWidgets.git] / samples / html / help / help.cpp
index 9338525c476b113c0f9a501aebcfd385dc5aa97b..062949c8cf4b3dbe78a855e4be8576fdbf440815 100644 (file)
    // `Main program' equivalent: the program execution "starts" here
    bool MyApp::OnInit()
    {
    // `Main program' equivalent: the program execution "starts" here
    bool MyApp::OnInit()
    {
+       if ( !wxApp::OnInit() )
+           return false;
+
       wxInitAllImageHandlers();
 #if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB
       wxFileSystem::AddHandler(new wxZipFSHandler);
       wxInitAllImageHandlers();
 #if wxUSE_STREAMS && wxUSE_ZIPSTREAM && wxUSE_ZLIB
       wxFileSystem::AddHandler(new wxZipFSHandler);