// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "paletteg.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
}
wxPalette::wxPalette(const wxPalette& palette)
- : wxGDIObject()
+ : wxPaletteBase()
{
Ref(palette);
}
return *this;
}
-bool wxPalette::operator == (const wxPalette& palette)
+bool wxPalette::operator == (const wxPalette& palette) const
{
return m_refData == palette.m_refData;
}
-bool wxPalette::operator != (const wxPalette& palette)
+bool wxPalette::operator != (const wxPalette& palette) const
{
return m_refData != palette.m_refData;
}