X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b7cacb43db1e69b87b257a67912b4d52995b070a..1e40f6676a0e403bf9f98ab44d40edab0811499b:/include/wx/msw/palette.h diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index f302fa3574..bbeab7e7dd 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -14,11 +14,11 @@ #include "wx/gdiobj.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(void); virtual ~wxPaletteRefData(void); @@ -44,9 +44,6 @@ public: virtual bool Ok() const { return IsOk(); } virtual bool IsOk(void) 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 bool FreeResource(bool force = false); // implemetation