]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/emulator/src/emulator.cpp
Sheet support for wxDirDialog.
[wxWidgets.git] / 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"))