X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/40ec64aec28cc221635175a307d9e758cc647f6f..3cfde7c049bddf6fd3b4c2e35a6b8ecdcdc1d74f:/src/msw/helpchm.cpp?ds=sidebyside diff --git a/src/msw/helpchm.cpp b/src/msw/helpchm.cpp index c991d47a3c..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" @@ -219,7 +219,7 @@ bool wxCHMHelpController::Quit() 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())