]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
New eventb based Drag interface for wxDataViewCtrl
[wxWidgets.git] / src / msw / utils.cpp
index 328839265aec279761462467f174546c0e2b17b1..9aa21972903c8e7540d0bf4db3958a4704e0a6d7 100644 (file)
@@ -36,6 +36,7 @@
 #include "wx/dynlib.h"
 #include "wx/dynload.h"
 #include "wx/scopeguard.h"
+#include "wx/filename.h"
 
 #include "wx/confbase.h"        // for wxExpandEnvVars()
 
@@ -431,7 +432,7 @@ const wxChar* wxGetHomeDir(wxString *pstr)
     else // fall back to the program directory
     {
         // extract the directory component of the program file name
-        wxSplitPath(wxGetFullModuleName(), &strDir, NULL, NULL);
+        wxFileName::SplitPath(wxGetFullModuleName(), &strDir, NULL, NULL);
     }
 #endif  // UNIX/Win