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:
@@ -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...
|
||||
|
Reference in New Issue
Block a user