X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0016bb3b1c6870a3c43b42b5be145c15fab56580..79cb759dc8580da2e82e880cd94a08cd38bb814e:/src/msw/helpchm.cpp diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index 4f6fedcfe6..e88789a042 100644 --- a/src/msw/helpchm.cpp +++ b/src/msw/helpchm.cpp @@ -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())