]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/filedlg.cpp
don't use \u escapes, VC6 doesn't understand them
[wxWidgets.git] / src / os2 / filedlg.cpp
index 3c54e02e3a951123288d6a025478e54b884ac46c..77dcc5c30db45f9ab1a2b0e76ed14ee6f7629272 100644 (file)
@@ -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))