X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f2718147f883ce400014bcfe62e89c3aaeacef1..80e2b031822ee2f6173f163b13d473283d1e4b38:/src/msw/palette.cpp?ds=inline diff --git a/src/msw/palette.cpp b/src/msw/palette.cpp index 800db50b2c..a9c9fc8056 100644 --- a/src/msw/palette.cpp +++ b/src/msw/palette.cpp @@ -133,7 +133,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)); } int wxPalette::GetColoursCount() const