]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpchm.cpp
try to clear the device/logical unit fog; remove unused and unsupported (an assertion...
[wxWidgets.git] / src / msw / helpchm.cpp
index 4f6fedcfe60090f6f4a63188eb92ab5007eed4c9..e88789a0427ece18b7934795e3337e1a8770fe93 100644 (file)
@@ -18,7 +18,7 @@
 
 #if wxUSE_HELP && wxUSE_MS_HTML_HELP
 
-#include "wx/filefn.h"
+#include "wx/filename.h"
 #include "wx/msw/helpchm.h"
 
 #include "wx/dynload.h"
@@ -213,13 +213,13 @@ bool wxCHMHelpController::KeywordSearch(const wxString& k,
 
 bool wxCHMHelpController::Quit()
 {
-    return CallHtmlHelp(NULL, HH_CLOSE_ALL);
+    return CallHtmlHelp(NULL, NULL, HH_CLOSE_ALL);
 }
 
 wxString wxCHMHelpController::GetValidFilename() const
 {
     wxString path, name, ext;
-    wxSplitPath(m_helpFile, &path, &name, &ext);
+    wxFileName::SplitPath(m_helpFile, &path, &name, &ext);
 
     wxString fullName;
     if (path.IsEmpty())