]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/printing/printing.cpp
Playing with wxgrid, adding optionnally native columns labels
[wxWidgets.git] / samples / html / printing / printing.cpp
index 6ce878f0a5364f492f9d2a9ccc320a6b358ad00c..411d7a03b61e9d1292079bfb56a3fc811ea16be0 100644 (file)
@@ -128,6 +128,9 @@ IMPLEMENT_APP(MyApp)
 
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
 #if wxUSE_LIBPNG
     wxImage::AddHandler(new wxPNGHandler);
 #endif