]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/colourcmn.cpp
Compilation fixes for wxUSE_GEOMETRY==0 build.
[wxWidgets.git] / src / common / colourcmn.cpp
index 7bbb17260f065920d929cc56318dc9769106b15e..013b17cee3150d38101b654763dc08bdd17b8229 100644 (file)
@@ -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);