X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/197ab43d72571ecfd86c35f1832f063237775648..bd21f7eaf01f7056ff2cb1529209eb9d0e7b74f4:/samples/html/helpview/helpview.cpp diff --git a/samples/html/helpview/helpview.cpp b/samples/html/helpview/helpview.cpp index a0b28929ed..074b943d84 100644 --- a/samples/html/helpview/helpview.cpp +++ b/samples/html/helpview/helpview.cpp @@ -1,10 +1,9 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: printing.cpp +// Name: helpview.cpp // Purpose: wxHtml sample: help browser // Author: ? // Modified by: // Created: ? -// RCS-ID: $Id$ // Copyright: (c) wxWidgets team // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -86,6 +85,8 @@ bool MyApp::OnInit() delete wxLog::SetActiveTarget(new wxLogGui); #endif + help->SetShouldPreventAppExit(true); + help -> DisplayContents(); return true;