#include "wx/gdiobj.h"
#include "wx/list.h"
-class WXDLLEXPORT wxPalette;
+class WXDLLIMPEXP_FWD_CORE wxPalette;
// Palette for one display
class wxXPalette : public wxObject
class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
{
- friend class WXDLLEXPORT wxPalette;
+ friend class WXDLLIMPEXP_FWD_CORE wxPalette;
public:
wxPaletteRefData();
virtual ~wxPaletteRefData();
virtual bool Ok() const { return IsOk(); }
virtual bool IsOk() const { return (m_refData != NULL) ; }
- bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; }
- bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; }
-
// X-specific
WXColormap GetXColormap(WXDisplay* display = NULL) const;
bool TransferBitmap(void *data, int depth, int size);