X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..06f28e557258a48f6a4b7ccb6aa08448c025ab68:/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,