]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/helpwin.cpp
Output the extracted number from wxString::ToXXX() even if it returns false.
[wxWidgets.git] / src / msw / helpwin.cpp
index e33ad6c8de11f64d02ba42a8d35f494333cffc6c..72339e4d98277a2940ae185f01df4931a0619c5b 100644 (file)
@@ -21,7 +21,7 @@
 #ifndef WX_PRECOMP
 #endif
 
 #ifndef WX_PRECOMP
 #endif
 
-#include "wx/filefn.h"
+#include "wx/filename.h"
 #include "wx/msw/helpwin.h"
 
 #include <time.h>
 #include "wx/msw/helpwin.h"
 
 #include <time.h>
@@ -112,7 +112,7 @@ bool wxWinHelpController::Quit(void)
 wxString wxWinHelpController::GetValidFilename(const wxString& file) const
 {
     wxString path, name, ext;
 wxString wxWinHelpController::GetValidFilename(const wxString& file) const
 {
     wxString path, name, ext;
-    wxSplitPath(file, & path, & name, & ext);
+    wxFileName::SplitPath(file, & path, & name, & ext);
 
     wxString fullName;
     if (path.empty())
 
     wxString fullName;
     if (path.empty())