X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..08670ea85abf4b4946a9ce64971b591d7b1ee30b:/src/osx/palette.cpp diff --git a/src/osx/palette.cpp b/src/osx/palette.cpp index c92d1da1ea..b0d4aef469 100644 --- a/src/osx/palette.cpp +++ b/src/osx/palette.cpp @@ -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]; @@ -149,7 +149,7 @@ wxGDIRefData *wxPalette::CreateGDIRefData() const wxGDIRefData *wxPalette::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxPaletteRefData(*wx_static_cast(const wxPaletteRefData *, data)); + return new wxPaletteRefData(*static_cast(data)); } #endif // wxUSE_PALETTE