]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/html/helpview/helpview.cpp
Fixed premature exit of helpview sample and utility
[wxWidgets.git] / samples / html / helpview / helpview.cpp
index 3cb2b9bc4d25aa92c196f62cac1f653432653afa..238deea26a2f5b6d1628266571cd7ecde9fe8edf 100644 (file)
@@ -84,6 +84,8 @@ bool MyApp::OnInit()
 
     help -> DisplayContents();
 
+    SetTopWindow(help->GetFrame());
+
     return true;
 }