]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
Don't include <CoreFoundation/CFBase.h> because it in turn includes MacTypes.h which...
[wxWidgets.git] / include / wx / os2 / colour.h
index 611a2e2512792e09ebb4a33440149ac7d4105dd9..f0538eab36e6d8025ddd9e9eceb49982d3c390cb 100644 (file)
@@ -34,7 +34,8 @@ public:
     virtual ~wxColour();
 
     // Accessors
-    bool Ok(void) const {return m_bIsInit; }
+    bool Ok() const { return IsOk(); }
+    bool IsOk(void) const {return m_bIsInit; }
 
     unsigned char Red(void) const { return m_cRed; }
     unsigned char Green(void) const { return m_cGreen; }