m_type |= (fileAttribs & FILE_ATTRIBUTE_DIRECTORY) != 0 ? is_dir : 0;
wxString p, f, ext;
- wxSplitPath(m_filePath, & p, & f, & ext);
+ wxFileName::SplitPath(m_filePath, & p, & f, & ext);
if (wxStricmp(ext, wxT("exe")) == 0)
m_type |= is_exe;
if ( !pcd )
return;
- const wxString& str = ((wx_static_cast(wxStringClientData *, pcd))->GetData());
+ const wxString& str = ((static_cast<wxStringClientData *>(pcd))->GetData());
m_list->SetWild( str );
m_filterIndex = filterindex;
if ( str.Left( 2 ) == wxT( "*." ) )
return;
}
-
+
m_ignoreChanges = true;
m_text->SetValue( filename );
return false;
wxString ext;
- wxSplitPath( path, &m_dir, &m_fileName, &ext );
+ wxFileName::SplitPath( path, &m_dir, &m_fileName, &ext );
if ( !ext.empty() )
{
m_fileName += wxT( "." );