#define _WX_PALETTE_H_
#include "wx/gdiobj.h"
+#include "wx/os2/private.h"
class WXDLLEXPORT wxPalette;
virtual bool Ok(void) const { return (m_refData != NULL) ; }
inline wxPalette& operator = (const wxPalette& rPalette) { if (*this == rPalette) return (*this); Ref(rPalette); return *this; }
- inline bool operator == (const wxPalette& rPalette) { return m_refData == rPalette.m_refData; }
- inline bool operator != (const wxPalette& rPalette) { return m_refData != rPalette.m_refData; }
+ 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);