X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..968f291be6686f70b259d9449089be204e51080e:/include/wx/motif/palette.h diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index 2ba91c323a..a1fa11be7e 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -51,7 +51,6 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase public: wxPalette(); - wxPalette(const wxPalette& palette) { Ref(palette); } wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); ~wxPalette(); @@ -61,7 +60,6 @@ public: virtual bool Ok() const { return (m_refData != NULL) ; } - wxPalette& operator = (const wxPalette& palette) { if (*this == palette) return (*this); Ref(palette); return *this; } bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; }