]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/colour.cpp
switching to newer API
[wxWidgets.git] / src / gtk1 / colour.cpp
index 68652fed398a03579870424a0e1af04ff17f3bab..82712095cd80d61c8b08333b7d29235b24c2a89a 100644 (file)
@@ -47,7 +47,7 @@ public:
         m_hasPixel = data.m_hasPixel;
     }
 
-    ~wxColourRefData()
+    virtual ~wxColourRefData()
     {
         FreeColour();
     }
@@ -169,7 +169,8 @@ wxObjectRefData *wxColour::CloneRefData(const wxObjectRefData *data) const
     return new wxColourRefData(*(wxColourRefData *)data);
 }
 
-void wxColour::InitWith( unsigned char red, unsigned char green, unsigned char blue )
+void wxColour::InitRGBA(unsigned char red, unsigned char green, unsigned char blue,
+                        unsigned char WXUNUSED(alpha))
 {
     AllocExclusive();