s/wxSplitPath/wxFileName::SplitPath
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -80,6 +80,7 @@ license is as follows:
|
||||
#include "wx/imagxpm.h"
|
||||
#include "wx/wfstream.h"
|
||||
#include "wx/xpmdecod.h"
|
||||
#include "wx/filename.h"
|
||||
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxXPMHandler,wxImageHandler)
|
||||
|
||||
@@ -123,8 +124,8 @@ bool wxXPMHandler::SaveFile(wxImage * image,
|
||||
wxString sName;
|
||||
if ( image->HasOption(wxIMAGE_OPTION_FILENAME) )
|
||||
{
|
||||
wxSplitPath(image->GetOption(wxIMAGE_OPTION_FILENAME),
|
||||
NULL, &sName, NULL);
|
||||
wxFileName::SplitPath(image->GetOption(wxIMAGE_OPTION_FILENAME),
|
||||
NULL, &sName, NULL);
|
||||
sName << wxT("_xpm");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user