X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/32b171bc0e6ba4b91c0c4b820b120a906c6dc646..a905992cf7eb7a5734133fc95944b98dde9c00d5:/utils/emulator/src/emulator.cpp?ds=sidebyside diff --git a/utils/emulator/src/emulator.cpp b/utils/emulator/src/emulator.cpp index 5626b52951..07ccc0cf28 100644 --- a/utils/emulator/src/emulator.cpp +++ b/utils/emulator/src/emulator.cpp @@ -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"))