]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/colour.h
changing to wxDC, so that wxGCDC can be used as well
[wxWidgets.git] / include / wx / msw / colour.h
index c3854f50b8475c65eb0d48eab1ca42ae627dae79..14760092270976b49c0bd87f85c192a5a854d0f6 100644 (file)
@@ -36,8 +36,7 @@ public:
     // 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; }