]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/zip/zip.cpp
use WXDLLIMPEXP_CORE, not WXDLLIMPEXP_BASE for wxThreadEvent
[wxWidgets.git] / samples / html / zip / zip.cpp
index ad3b9b2478ecbd4655f21e74bdc099e99d74203b..60ec2e3e9f191c5f5a275f50c526f33b25038971 100644 (file)
@@ -3,11 +3,6 @@
 // Purpose:     wxHtml testing example
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation "test.cpp"
-    #pragma interface "test.cpp"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -102,6 +97,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_LIBPNG
     wxImage::AddHandler(new wxPNGHandler);
 #endif