]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wince/filedlgwce.cpp
no real changes, just minor refactoring and cleanup
[wxWidgets.git] / src / msw / wince / filedlgwce.cpp
index 20dbe03368cd40ac72cf8829a038c77bf3f4fd92..e5c59407a6e79ba790e8af3af834914cea86d927 100644 (file)
@@ -105,7 +105,7 @@ void wxFileDialog::GetPaths(wxArrayString& paths) const
 void wxFileDialog::SetPath(const wxString& path)
 {
     wxString ext;
-    wxSplitPath(path, &m_dir, &m_fileName, &ext);
+    wxFileName::SplitPath(path, &m_dir, &m_fileName, &ext);
     if ( !ext.empty() )
         m_fileName << _T('.') << ext;
 }