X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f8855e47254a28f5141524b3aaaac03c2944e997..07a84e7bbb3ed346fff59aa3570a1f687a3c4d7b:/include/wx/motif/palette.h?ds=sidebyside diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index a1fa11be7e..d4e00e6efb 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -37,7 +37,7 @@ class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData friend class WXDLLEXPORT wxPalette; public: wxPaletteRefData(); - ~wxPaletteRefData(); + virtual ~wxPaletteRefData(); protected: wxList m_palettes; @@ -53,7 +53,7 @@ public: wxPalette(); wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); - ~wxPalette(); + virtual ~wxPalette(); bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const; bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;