X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f450b5cf10f898d0c37bb3bc149f0bbe73f95c19..9a6d14383a57771a334f6d0b6376dd47bf24049d:/src/os2/filedlg.cpp diff --git a/src/os2/filedlg.cpp b/src/os2/filedlg.cpp index 06028d0a69..77dcc5c30d 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))