X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3130a8d0147094b618e6cfe4b3f62dacdbbea340..769c3372a2bd68c45d1a4afc8462d3b7939decb1:/src/common/colourcmn.cpp diff --git a/src/common/colourcmn.cpp b/src/common/colourcmn.cpp index 7bbb17260f..013b17cee3 100644 --- a/src/common/colourcmn.cpp +++ b/src/common/colourcmn.cpp @@ -177,13 +177,13 @@ bool wxColourBase::FromString(const wxString& str) // because this place can be called from constructor // and 'this' could not be available yet wxColour clr = wxTheColourDatabase->Find(str); - if (clr.Ok()) + if (clr.IsOk()) Set((unsigned char)clr.Red(), (unsigned char)clr.Green(), (unsigned char)clr.Blue()); } - if (Ok()) + if (IsOk()) return true; wxLogDebug(wxT("wxColour::Set - couldn't set to colour string '%s'"), str);