- // success: wxApp::OnRun() will be called which will enter the main message
- // loop and the application will run. If we returned FALSE here, the
- // application would exit immediately.
+
+ // initialise the help system: this means that we'll use doc.hlp file under
+ // Windows and that the HTML docs are in the subdirectory doc for platforms
+ // using HTML help
+ if ( !frame->GetHelpController().Initialize("doc") )
+ {
+ wxLogError("Cannot initialize the help system, aborting.");
+
+ return FALSE;
+ }
+