]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colour.h
changing to wxDC, so that wxGCDC can be used as well
[wxWidgets.git] / include / wx / generic / colour.h
index 28627daa0a0c372aea30da30f8a5a394c6a3fadb..c0d26dad039ba7e93a69f65c637b66a6e36158bd 100644 (file)
@@ -33,8 +33,7 @@ public:
     virtual ~wxColour();
 
     // accessors
-    bool Ok() const { return IsOk(); }
-    bool IsOk() const { return m_isInit; }
+    virtual bool IsOk() const { return m_isInit; }
 
     unsigned char Red() const { return m_red; }
     unsigned char Green() const { return m_green; }