]> 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 5f01ff010ca76731bd23e21357dc26008502e2ca..f0538eab36e6d8025ddd9e9eceb49982d3c390cb 100644 (file)
@@ -31,10 +31,11 @@ public:
     wxColour&operator = (const wxColour& rCol);
 
     // Dtor
-    ~wxColour();
+    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; }
@@ -65,7 +66,8 @@ private:
     unsigned char  m_cBlue;
     unsigned char  m_cGreen;
 
-    virtual void InitWith( unsigned char cRed, unsigned char cGreen, unsigned char cBlue);
+    virtual void
+    InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
 
 public:
     WXCOLORREF                      m_vPixel ;