git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21984 
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
         return TRUE;
     }
 
-#ifdef __WXWINCE__
-    // TODO: is this right? How come it compiles on other
-    // platforms?
-    name = (char*) wxStrdup((wxChar*) inname);
-#else
-    name = wxStrdup(inname);
-#endif
+    name = strdup(inname);
 
     // theRGBRecords[] has no names with spaces, and no grey, but a
     // lot of gray...
         {
             if ( *r != *q )
                 continue;
-            if ( !wxIsspace((int) (*(r - 1))) )
+            if ( !isspace((int) (*(r - 1))) )
                 continue;
             p = r;
             for (;;)