X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ca65c0440a7163e4e37e48b1c4329709d722db47..3ef092d63b3757744beb71a61a3b818e207632b3:/src/generic/paletteg.cpp diff --git a/src/generic/paletteg.cpp b/src/generic/paletteg.cpp index 9501928de3..bc60473143 100644 --- a/src/generic/paletteg.cpp +++ b/src/generic/paletteg.cpp @@ -8,11 +8,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// - -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "paletteg.h" -#endif - // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -72,7 +67,7 @@ wxPalette::wxPalette(int n, const unsigned char *red, const unsigned char *green } wxPalette::wxPalette(const wxPalette& palette) - : wxGDIObject() + : wxPaletteBase() { Ref(palette); } @@ -88,12 +83,12 @@ wxPalette& wxPalette::operator = (const wxPalette& palette) return *this; } -bool wxPalette::operator == (const wxPalette& palette) +bool wxPalette::operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } -bool wxPalette::operator != (const wxPalette& palette) +bool wxPalette::operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; }