Fixed a BCC compilation ambiguity for wxString [int] vs [unsigned int]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4b6ed6bc17
commit
fafa563280
@ -561,7 +561,7 @@ wxColour wxXmlResourceHandler::GetColour(const wxString& param)
|
||||
wxString v = GetParamValue(param);
|
||||
unsigned long tmp = 0;
|
||||
|
||||
if (v.Length() != 7 || v[0] != wxT('#') ||
|
||||
if (v.Length() != 7 || v[0u] != wxT('#') ||
|
||||
wxSscanf(v.c_str(), wxT("#%lX"), &tmp) != 1)
|
||||
{
|
||||
wxLogError(_("XML resource: Incorrect colour specification '%s' for property '%s'."),
|
||||
|
Loading…
Reference in New Issue
Block a user