X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/39b61aa3eb950489f880fbe2024d3b5bc82a11f5..17520c84b310d2554128acabb02059c89206cefc:/src/os2/filedlg.cpp diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 3c54e02e3a..77dcc5c30d 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.wchar_str(), wxT("|"), &pzFilterBuffer); while(pzFilterBuffer != NULL) { if (nCount > 0 && !(nCount % 2))