X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f450b5cf10f898d0c37bb3bc149f0bbe73f95c19..e1f833da2a8bbe01cc96c0d7a3542ac2c1d6d6f0:/src/os2/filedlg.cpp?ds=sidebyside diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 06028d0a69..24887d4bf5 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -193,7 +193,7 @@ int wxFileDialog::ShowModal() else sTheFilter = m_wildCard; - wxStrtok(sTheFilter.char_str(), wxT("|"), &pzFilterBuffer); + wxStrtok(sTheFilter.wchar_str(), wxT("|"), &pzFilterBuffer); while(pzFilterBuffer != NULL) { if (nCount > 0 && !(nCount % 2)) @@ -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');