]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/glcmn.cpp
Fix wxGrid editors background painting.
[wxWidgets.git] / src / common / glcmn.cpp
index 94c13274324a63e3f21c6a7fad6f51f55703da6f..4d9e2dd144c0f377a0ca383ee79a30bda7fe7234 100644 (file)
@@ -66,7 +66,7 @@ bool wxGLCanvasBase::SetCurrent(const wxGLContext& context) const
 bool wxGLCanvasBase::SetColour(const wxString& colour)
 {
     wxColour col = wxTheColourDatabase->Find(colour);
-    if ( !col.Ok() )
+    if ( !col.IsOk() )
         return false;
 
 #ifdef wxHAS_OPENGL_ES