]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/help/demo.cpp
Removed xpm[d].lib
[wxWidgets.git] / samples / help / demo.cpp
index d1bc2f6f7ab345977fbf522861381f7d9c205141..daba593c1aee151679e3dfa7cb2a882f3b310ff7 100644 (file)
@@ -319,8 +319,9 @@ bool MyApp::OnInit()
     }
 #endif
 
-#if wxUSE_MS_HTML_HELP
-    if ( !frame->GetMSHtmlHelpController().Initialize("doc") )
+#if defined(__WXMSW__) && wxUSE_MS_HTML_HELP
+    wxString path(wxGetCwd());
+    if ( !frame->GetMSHtmlHelpController().Initialize(path + "\\doc.chm") )
     {
         wxLogError("Cannot initialize the MS HTML help system, aborting.");