#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"
else
sTheFilter = m_wildCard;
- wxStrtok((wxChar*)sTheFilter.c_str(), wxT("|"), &pzFilterBuffer);
+ wxStrtok(sTheFilter.wchar_str(), wxT("|"), &pzFilterBuffer);
while(pzFilterBuffer != NULL)
{
if (nCount > 0 && !(nCount % 2))
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');