More WinCE mods.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -551,7 +551,7 @@ static bool GetRGBFromName(const char *inname, bool *isNone,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
name = strdup(inname);
|
||||
name = wxStrdup(inname);
|
||||
|
||||
// theRGBRecords[] has no names with spaces, and no grey, but a
|
||||
// lot of gray...
|
||||
@@ -638,7 +638,7 @@ static const char *ParseColor(const char *data)
|
||||
{
|
||||
if ( *r != *q )
|
||||
continue;
|
||||
if ( !isspace((int) (*(r - 1))) )
|
||||
if ( !wxIsspace((int) (*(r - 1))) )
|
||||
continue;
|
||||
p = r;
|
||||
for (;;)
|
||||
|
||||
Reference in New Issue
Block a user