X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0416c41834f36316a03720c4ed05cdf36964a2f3..47cef10f284ea56fa0e41ee2a5deff5c640f9110:/include/wx/gtk/colour.h?ds=sidebyside diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index 25ef5e9d82..25f0d58caf 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -25,7 +25,7 @@ public: DEFINE_STD_WXCOLOUR_CONSTRUCTORS wxColour(const GdkColor& gdkColor); - ~wxColour(); + virtual ~wxColour(); bool Ok() const { return m_refData != NULL; } @@ -35,6 +35,7 @@ public: unsigned char Red() const; unsigned char Green() const; unsigned char Blue() const; + unsigned char Alpha() const; // Implementation part void CalcPixel( GdkColormap *cmap ); @@ -48,8 +49,10 @@ public: #endif protected: + virtual void + InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a); + virtual bool FromString(const wxChar *str); - virtual void InitWith( unsigned char red, unsigned char green, unsigned char blue ); private: DECLARE_DYNAMIC_CLASS(wxColour)