]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/thread/thread.cpp
ensure all topic overviews have an horizontal rule with the list of the sections...
[wxWidgets.git] / samples / thread / thread.cpp
index c93424a99f3fee26183259fd71e85c412edb9ed2..d85db154a444d8a31f3aa468fb912bd2e8a1d17e 100644 (file)
@@ -363,6 +363,9 @@ MyApp::MyApp()
 // `Main program' equivalent, creating windows and returning main app frame
 bool MyApp::OnInit()
 {
+    if ( !wxApp::OnInit() )
+        return false;
+
     // uncomment this to get some debugging messages from the trace code
     // on the console (or just set WXTRACE env variable to include "thread")
     //wxLog::AddTraceMask("thread");