X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..115563867dac8edf57b6d2c6ae95910c7f277d77:/include/wx/mac/carbon/palette.h diff --git a/include/wx/mac/carbon/palette.h b/include/wx/mac/carbon/palette.h index 538ca77eca..0532aed4e1 100644 --- a/include/wx/mac/carbon/palette.h +++ b/include/wx/mac/carbon/palette.h @@ -15,13 +15,13 @@ #include "wx/colour.h" #include "wx/gdiobj.h" -class WXDLLEXPORT wxPalette; +class WXDLLIMPEXP_FWD_CORE wxPalette; class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData { DECLARE_NO_COPY_CLASS(wxPaletteRefData) - friend class WXDLLEXPORT wxPalette; + friend class WXDLLIMPEXP_FWD_CORE wxPalette; public: wxPaletteRefData(); virtual ~wxPaletteRefData(); @@ -47,9 +47,6 @@ public: virtual bool Ok() const { return IsOk(); } virtual bool IsOk() const { return (m_refData != NULL) ; } - inline bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } - inline bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; } - virtual int GetColoursCount() const; private: