X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/197ab43d72571ecfd86c35f1832f063237775648..89b3361ec25cf1e6d255b14c7633d8375646e4fb:/samples/html/helpview/helpview.cpp?ds=sidebyside diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index a0b28929ed..6f62d33763 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -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;