X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a56a532f29c35adfe6eb2c1c81315fa1e7ba921..3ac7b44cc0765b8444324d71b58cf648009d41c2:/include/wx/os2/colour.h diff --git a/include/wx/os2/colour.h b/include/wx/os2/colour.h index b82c55433e..a1c419e35f 100644 --- a/include/wx/os2/colour.h +++ b/include/wx/os2/colour.h @@ -35,6 +35,8 @@ public: ,unsigned char cBlue ); + wxColour( unsigned long colRGB ) { Set(colRGB); } + // // Implicit conversion from the colour name // @@ -81,16 +83,6 @@ public: // bool Ok(void) const {return m_bIsInit; } - // - // Let's remove this inelegant function - // -#if WXWIN_COMPATIBILITY - void Get( unsigned char* pRed - ,unsigned char* pGreen - ,unsigned char* pBlue - ) const; -#endif - unsigned char Red(void) const { return m_cRed; } unsigned char Green(void) const { return m_cGreen; } unsigned char Blue(void) const { return m_cBlue; }