]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/xpmdecod.cpp
wxHashMap compatible typecasting.
[wxWidgets.git] / src / common / xpmdecod.cpp
index 5d873d8ee93f9acc2d2a11bf4fcbad7c9ad0b295..e1b62cf09d63c21de40bed0f01b84057a3616567 100644 (file)
@@ -550,11 +550,7 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
         return true;
     }
 
-#ifdef __WXWINCE__
-    name = _strdup(inname);
-#else
-    name = strdup(inname);
-#endif
+    name = wxStrdupA(inname);
 
     // theRGBRecords[] has no names with spaces, and no grey, but a
     // lot of gray...