use wxStrdupA() instead of #ifdef's around strdup()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-09 21:45:23 +00:00
parent 02538f2d7a
commit 8813578906

View 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...