X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..55410bb4f67febe1ca20654f078ea4fb9a6223ae:/src/osx/palette.cpp diff --git a/src/osx/palette.cpp b/src/osx/palette.cpp index c92d1da1ea..a288caa9bd 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() @@ -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