]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/palette.cpp
use GTK-specific method to delete selection
[wxWidgets.git] / src / osx / palette.cpp
index 3c1a22c533bae4ac3241922cb0a85477ad2d6844..b0d4aef4692a3bbffecf17207f0b17a7ac34804d 100644 (file)
@@ -37,7 +37,7 @@ protected:
 
     friend class WXDLLIMPEXP_FWD_CORE wxPalette;
 
-    DECLARE_NO_ASSIGN_CLASS(wxPaletteRefData)
+    wxDECLARE_NO_ASSIGN_CLASS(wxPaletteRefData);
 };
 
 wxPaletteRefData::wxPaletteRefData()
@@ -46,7 +46,7 @@ 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];