X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..db71eb0640221199170ac9ea83371c2d467fa456:/src/mgl/palette.cpp diff --git a/src/mgl/palette.cpp b/src/mgl/palette.cpp index e47260ed12..da815d8ab1 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; @@ -73,7 +73,7 @@ bool wxPalette::operator != (const wxPalette& palette) const return m_refData != palette.m_refData; } -bool wxPalette::Ok(void) const +bool wxPalette::IsOk(void) const { return (m_refData != NULL); }