X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d72f87f60bd548c9b09d4f15d5ed735d749aaa2b..96dc06fdcece9307ffb0c23bb6944ff03c526808:/include/wx/generic/paletteg.h diff --git a/include/wx/generic/paletteg.h b/include/wx/generic/paletteg.h index 2eb853fc11..4d3ccc308d 100644 --- a/include/wx/generic/paletteg.h +++ b/include/wx/generic/paletteg.h @@ -21,7 +21,7 @@ // classes //----------------------------------------------------------------------------- -class WXDLLIMPEXP_CORE wxPalette; +class WXDLLIMPEXP_FWD_CORE wxPalette; //----------------------------------------------------------------------------- // wxPalette @@ -33,15 +33,16 @@ public: wxPalette(); wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ); virtual ~wxPalette(); - bool operator == ( const wxPalette& palette ) const; - bool operator != ( const wxPalette& palette ) const; - virtual bool Ok() 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; bool GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const; - virtual int GetColoursCount() const: + virtual int GetColoursCount() const; + +protected: + virtual wxGDIRefData *CreateGDIRefData() const; + virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const; private: DECLARE_DYNAMIC_CLASS(wxPalette)