]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/colour.h
compatibility fix: have wxListKey ctors from C strings so that passing string literal...
[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; }