fix wxSplitPath usage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi
2009-01-07 13:24:23 +00:00
parent 9f5b54d1ef
commit e5e8081816

View 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"))