X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..ae901b234c4a0aa7c1777b3bd181dd7f8517ad21:/src/osx/palette.cpp?ds=sidebyside

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<const wxPaletteRefData *>(data));
 }
 
 #endif // wxUSE_PALETTE