]> 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 301cb0f7dd713441341978bfdd19b24d434929bb..062949c8cf4b3dbe78a855e4be8576fdbf440815 100644 (file)
@@ -3,11 +3,6 @@
 // Purpose:     wxHtml testing example
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation
-    #pragma interface
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
    // `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);