X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88ef3a57a47f840adea9d38bc11cb30689a0838a..99d21c0e1f8d87570702c52dccd3ad698f0a0931:/include/wx/mgl/palette.h?ds=sidebyside diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index a9878d2676..459403fc40 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -20,7 +20,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLEXPORT wxPalette; +class WXDLLIMPEXP_FWD_CORE wxPalette; struct palette_t; //----------------------------------------------------------------------------- @@ -34,12 +34,9 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase public: wxPalette(); wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); - wxPalette(const wxPalette& palette); - ~wxPalette(); - wxPalette& operator = (const wxPalette& palette); - bool operator == (const wxPalette& palette) const; - bool operator != (const wxPalette& palette) const; - virtual bool Ok() const; + virtual ~wxPalette(); + virtual bool Ok() const { return IsOk(); } + virtual bool IsOk() const; 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;