]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filefn.cpp
respect the encoding of the text style and not only the global control font encoding...
[wxWidgets.git] / src / common / filefn.cpp
index 3707d0a32713681741d26356e45f77263b1413dc..0adde924d3504e6f6dcfe844e1345040dc171737 100644 (file)
@@ -1391,7 +1391,7 @@ wxChar *wxDoGetCwd(wxChar *buf, int sz)
 
     #ifdef HAVE_WGETCWD
         #if wxUSE_UNICODE_MSLU
-            if ( wxGetOsVersion() != wxWIN95 )
+            if ( wxGetOsVersion() != wxOS_WINDOWS_9X )
         #else
             char *cbuf = NULL; // never really used because needsANSI will always be false
         #endif