X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3c7fc996a73e9f6a83067bc28a3c5581a3fee65..033bf67c3cd465dce10b7bfb5c24f62ab83e5a13:/include/wx/os2/colour.h?ds=inline diff --git a/include/wx/os2/colour.h b/include/wx/os2/colour.h index f8d69fa6e2..f0538eab36 100644 --- a/include/wx/os2/colour.h +++ b/include/wx/os2/colour.h @@ -34,7 +34,8 @@ public: 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 ;