]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/ownerdrwcmn.cpp
Add missing WXK constants for the control keys
[wxWidgets.git] / src / common / ownerdrwcmn.cpp
index e9163b6829665a62ed02d19a3124e9d258f7172c..29e646a163f037fa8705325c96e148197d0ff978 100644 (file)
@@ -93,11 +93,11 @@ void wxOwnerDrawnBase::GetColourToUse(wxODStatus stat, wxColour& colText, wxColo
         }
         else
         {
-            colText = m_colText.Ok() ? m_colText
+            colText = m_colText.IsOk() ? m_colText
                                      : wxSystemSettings::GetColour(wxSYS_COLOUR_MENUTEXT);
         }
 
-        colBack = m_colBack.Ok() ? m_colBack
+        colBack = m_colBack.IsOk() ? m_colBack
                                  : wxSystemSettings::GetColour(wxSYS_COLOUR_MENU);
     }
 }