X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..2a8312bced9d3f3415383a79a15cad2acf447b7e:/interface/wx/palette.h?ds=sidebyside diff --git a/interface/wx/palette.h b/interface/wx/palette.h index 1ebae98ffb..2bcf2b0ccc 100644 --- a/interface/wx/palette.h +++ b/interface/wx/palette.h @@ -70,7 +70,7 @@ public: @see @ref overview_refcount_destruct "reference-counted object destruction" */ - ~wxPalette(); + virtual ~wxPalette(); /** Creates a palette from arrays of size @a n, one for each red, blue or @@ -96,7 +96,7 @@ public: /** Returns number of entries in palette. */ - int GetColoursCount() const; + virtual int GetColoursCount() const; /** Returns a pixel value (index into the palette) for the given RGB values.