X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d8eb95b3536b0702122fa65b02ad9c3feab87af..e1f833da2a8bbe01cc96c0d7a3542ac2c1d6d6f0:/src/os2/filedlg.cpp diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 77dcc5c30d..24887d4bf5 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -248,11 +248,11 @@ int wxFileDialog::ShowModal() 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');