wxString FindExtension(const wxString& path)
{
wxString ext;
- wxSplitPath(path, NULL, NULL, &ext);
+ wxFileName::SplitPath(path, NULL, NULL, &ext);
// VZ: extensions are considered not case sensitive - is this really a good
// idea?
wxString fileName(tmp);
wxString path, name, ext;
- wxSplitPath(fileName, & path, & name, & ext);
+ wxFileName::SplitPath(fileName, & path, & name, & ext);
if (ext.empty())
{