X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..16a6b53ddc74d62fd1b6b82651d0e3859580c48a:/include/wx/os2/palette.h diff --git a/include/wx/os2/palette.h b/include/wx/os2/palette.h index e7312893fd..3f094805f2 100644 --- a/include/wx/os2/palette.h +++ b/include/wx/os2/palette.h @@ -15,11 +15,11 @@ #include "wx/gdiobj.h" #include "wx/os2/private.h" -class WXDLLEXPORT wxPalette; +class WXDLLIMPEXP_FWD_CORE wxPalette; class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData { - friend class WXDLLEXPORT wxPalette; + friend class WXDLLIMPEXP_FWD_CORE wxPalette; public: wxPaletteRefData(); virtual ~wxPaletteRefData(); @@ -62,11 +62,6 @@ public: virtual bool Ok() const { return IsOk(); } virtual bool IsOk(void) const { return (m_refData != NULL) ; } - inline bool operator == (const wxPalette& rPalette) const - { return m_refData == rPalette.m_refData; } - inline bool operator != (const wxPalette& rPalette) const - { return m_refData != rPalette.m_refData; } - virtual bool FreeResource(bool bForce = false); inline WXHPALETTE GetHPALETTE(void) const { return (M_PALETTEDATA ? M_PALETTEDATA->m_hPalette : 0); }