]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/colour.cpp
added more properties
[wxWidgets.git] / src / gtk / colour.cpp
index 79b2c37f1df2ac2e1cde63d154aeaa37c9502c58..e09ef66effa636aae85e286748284c3e98149736 100644 (file)
@@ -35,7 +35,7 @@ public:
         m_colormap = NULL;
     }
 
-    ~wxColourRefData()
+    virtual ~wxColourRefData()
     {
         FreeColour();
     }
@@ -112,7 +112,8 @@ bool wxColour::operator == ( const wxColour& col ) const
            refData->m_blue == that_refData->m_blue;
 }
 
-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))
 {
     UnRef();