X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..6631cbd98e7d1139a45841b519ae8aa753a15fbc:/src/mgl/palette.cpp diff --git a/src/mgl/palette.cpp b/src/mgl/palette.cpp index e47260ed12..92536bb350 100644 --- a/src/mgl/palette.cpp +++ b/src/mgl/palette.cpp @@ -26,7 +26,7 @@ class wxPaletteRefData: public wxObjectRefData { public: wxPaletteRefData(void); - ~wxPaletteRefData(void); + virtual ~wxPaletteRefData(void); int m_count; palette_t *m_entries; @@ -63,21 +63,6 @@ wxPalette::~wxPalette() { } -bool wxPalette::operator == (const wxPalette& palette) const -{ - return m_refData == palette.m_refData; -} - -bool wxPalette::operator != (const wxPalette& palette) const -{ - return m_refData != palette.m_refData; -} - -bool wxPalette::Ok(void) const -{ - return (m_refData != NULL); -} - bool wxPalette::Create(int n, const unsigned char *red, const unsigned char *green,