]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/utils.cpp
Use "GBK" as alternative name for CP936 encoding.
[wxWidgets.git] / src / msw / utils.cpp
index 703a65ae20c95dd77a0da6bbf1c2a89318b9d08e..d672e75d5dae388ed0acae26fa3789d9a82aab8f 100644 (file)
@@ -60,9 +60,7 @@
 #if !defined(__GNUWIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
     #include <direct.h>
 
-    #ifndef __MWERKS__
-        #include <dos.h>
-    #endif
+    #include <dos.h>
 #endif  //GNUWIN32
 
 #if defined(__CYGWIN__)
@@ -1117,8 +1115,8 @@ wxLoadUserResource(const void **outData,
     wxCHECK_MSG( outData && outLen, false, "output pointers can't be NULL" );
 
     HRSRC hResource = ::FindResource(instance,
-                                     resourceName.wx_str(),
-                                     resourceType.wx_str());
+                                     resourceName.t_str(),
+                                     resourceType.t_str());
     if ( !hResource )
         return false;