]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/helpview/helpview.cpp
Fix wrong configure test for abi::__forced_unwind in previous commit.
[wxWidgets.git] / samples / html / helpview / helpview.cpp
index a0b28929ed7f3ed1743d6b7de55c9ab728397588..6f62d337637332e4c88fe681dbfd61c3580a6828 100644 (file)
@@ -1,5 +1,5 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        printing.cpp
+// Name:        helpview.cpp
 // Purpose:     wxHtml sample: help browser
 // Author:      ?
 // Modified by:
@@ -86,6 +86,8 @@ bool MyApp::OnInit()
     delete wxLog::SetActiveTarget(new wxLogGui);
 #endif
 
+    help->SetShouldPreventAppExit(true);
+
     help -> DisplayContents();
 
     return true;