#ifndef WX_PRECOMP
#include "wx/utils.h"
#include "wx/msgdlg.h"
+ #include "wx/filename.h"
#include "wx/intl.h"
#include "wx/log.h"
#include "wx/app.h"
int nIdx = wxStrlen(zFileNameBuffer) - 1;
wxString sExt;
- wxSplitPath( zFileNameBuffer
- ,&m_path
- ,&m_fileName
- ,&sExt
- );
+ wxFileName::SplitPath( zFileNameBuffer
+ ,&m_path
+ ,&m_fileName
+ ,&sExt
+ );
if (zFileNameBuffer[nIdx] == wxT('.') || sExt.empty())
{
zFileNameBuffer[nIdx] = wxT('\0');