X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..2dfa1d9e11128c9708bbf55feeb442471828ac63:/include/wx/x11/palette.h diff --git a/include/wx/x11/palette.h b/include/wx/x11/palette.h index c36269fbba..2054a9a128 100644 --- a/include/wx/x11/palette.h +++ b/include/wx/x11/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; }