]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/colour.h
removed overloaded virtual InitWith() methods, keep just a single InitRGBA()
[wxWidgets.git] / include / wx / generic / colour.h
index 66aa3800d4c483e3e6beb94fe99e6addf9ae6ac2..1f4f4ed5c1a9790410d80b60c04cb647996fbbae 100644 (file)
@@ -57,12 +57,8 @@ protected:
     // Helper function
     void Init();
 
-    virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue)
-    {
-        InitWith(red, green, blue, wxALPHA_OPAQUE);
-    }
-
-    virtual void InitWith(unsigned char red, unsigned char green, unsigned char blue, unsigned char alpha);
+    virtual void
+    InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);
 
 private:
     bool m_isInit;