+#if wxUSE_MS_HTML_HELP
+ if( !frame->GetMSHtmlHelpController().Initialize("doc") )
+ {
+ wxLogError(wxT("Cannot initialize the MS HTML Help system."));
+ }
+#endif
+
+#if wxUSE_MS_HTML_HELP && wxUSE_WXHTML_HELP
+ // you need to call Initialize in order to use wxBestHelpController
+ if( !frame->GetBestHelpController().Initialize("doc") )
+ {
+ wxLogError(wxT("Cannot initialize the best help system, aborting."));
+ }
+#endif
+