X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/917be7ed065337e8a7a67615969ecaade9eea809..12cb75919071a7cda9e7896ee6d937ccf08a8153:/include/wx/os2/palette.h diff --git a/include/wx/os2/palette.h b/include/wx/os2/palette.h index 1926409552..0ffd177910 100644 --- a/include/wx/os2/palette.h +++ b/include/wx/os2/palette.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palette.h +// Name: wx/os2/palette.h // Purpose: wxPalette class // Author: David Webster // Modified by: @@ -36,7 +36,6 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase public: wxPalette(); - inline wxPalette(const wxPalette& rPalette) { Ref(rPalette); } wxPalette( int n ,const unsigned char* pRed @@ -50,9 +49,9 @@ public: ,const unsigned char* pGreen ,const unsigned char* pBlue ); - int GetPixel( const unsigned char cRed - ,const unsigned char cGreen - ,const unsigned char cBlue + int GetPixel( unsigned char cRed + ,unsigned char cGreen + ,unsigned char cBlue ) const; bool GetRGB( int nPixel ,unsigned char* pRed @@ -62,7 +61,6 @@ public: virtual bool Ok(void) const { return (m_refData != NULL) ; } - inline wxPalette& operator = (const wxPalette& rPalette) { if (*this == rPalette) return (*this); Ref(rPalette); return *this; } inline bool operator == (const wxPalette& rPalette) const { return m_refData == rPalette.m_refData; } inline bool operator != (const wxPalette& rPalette) const @@ -77,4 +75,3 @@ public: #endif // _WX_PALETTE_H_ -