]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/about/about.cpp
WinCE build fix.
[wxWidgets.git] / samples / html / about / about.cpp
index 282eb378353b9a0cfb91e46757e0d9b63cefbb9d..9613d9890f8789de8c4cd0f020bb4f128ac18237 100644 (file)
@@ -85,6 +85,9 @@ IMPLEMENT_APP(MyApp)
 // `Main program' equivalent: the program execution "starts" here
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // we use a PNG image in our HTML page
     wxImage::AddHandler(new wxPNGHandler);