X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b61aa3eb950489f880fbe2024d3b5bc82a11f5..8fd7108e7cfd6d3564a71ab5f49c391613e27798:/src/os2/filedlg.cpp?ds=sidebyside diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 3c54e02e3a..06028d0a69 100644 --- a/src/os2/filedlg.cpp +++ b/src/os2/filedlg.cpp @@ -193,7 +193,7 @@ int wxFileDialog::ShowModal() else sTheFilter = m_wildCard; - wxStrtok((wxChar*)sTheFilter.c_str(), wxT("|"), &pzFilterBuffer); + wxStrtok(sTheFilter.char_str(), wxT("|"), &pzFilterBuffer); while(pzFilterBuffer != NULL) { if (nCount > 0 && !(nCount % 2))