]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/filedlg.cpp
position the insertion point to the start, not end, of the selection for compatibilit...
[wxWidgets.git] / src / os2 / filedlg.cpp
index 06028d0a696d275eb9c15a0f4925c60cb45d0930..77dcc5c30db45f9ab1a2b0e76ed14ee6f7629272 100644 (file)
@@ -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))