friend class WXDLLIMPEXP_FWD_CORE wxPalette;
- DECLARE_NO_ASSIGN_CLASS(wxPaletteRefData)
+ wxDECLARE_NO_ASSIGN_CLASS(wxPaletteRefData);
};
wxPaletteRefData::wxPaletteRefData()
m_count = 0;
}
-wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data)
+wxPaletteRefData::wxPaletteRefData(const wxPaletteRefData& data) : wxGDIRefData()
{
m_count = data.m_count;
m_palette = new wxColour[m_count];