]> git.saurik.com Git - wxWidgets.git/commitdiff
fix wxSplitPath usage
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 13:24:23 +0000 (13:24 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 7 Jan 2009 13:24:23 +0000 (13:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

utils/emulator/src/emulator.cpp

index 5626b5295112bd3a3a3f411194319324c8b7a880..07ccc0cf28d74d1b2608ec91ea19485fbeb82dd8 100644 (file)
@@ -35,6 +35,7 @@
 #include "wx/cmdline.h"
 #include "wx/image.h"
 #include "wx/file.h"
+#include "wx/filename.h"
 
 #ifdef __WXX11__
 #include "wx/x11/reparent.h"
@@ -519,7 +520,7 @@ wxBitmapType wxDetermineImageType(const wxString& filename)
 {
     wxString path, name, ext;
 
-    wxSplitPath(filename, & path, & name, & ext);
+    wxFileName::SplitPath(filename, & path, & name, & ext);
 
     ext.MakeLower();
     if (ext == _T("jpg") || ext == _T("jpeg"))