]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/colour.h
added missing forward declaration for wxCStrData
[wxWidgets.git] / include / wx / colour.h
index 18101e11de5a21e09afba84d85629383c7f7d8f2..9c3cea2c90bb6559a2b2e888ec312b6ae89bf661 100644 (file)
@@ -94,7 +94,8 @@ public:
     // accessors
     // ---------
 
-    virtual bool Ok() const = 0;
+    virtual bool Ok() const { return IsOk(); }
+    virtual bool IsOk() const = 0;
 
     virtual ChannelType Red() const = 0;
     virtual ChannelType Green() const = 0;