X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/96dabe431382e288fc1ccc561f62c400895ac0fa..12b5f4b4d2d8a07962da7ba3b78c8c1ec2634a67:/src/osx/palette.cpp diff --git a/src/osx/palette.cpp b/src/osx/palette.cpp index c92d1da1ea..3c1a22c533 100644 --- a/src/osx/palette.cpp +++ b/src/osx/palette.cpp @@ -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