X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b3f61d14cbc6cc117373d173ecf08fbec4c9a38..d439c2517e70e689b38f971168e926d6c997b0dd:/src/os2/palette.cpp diff --git a/src/os2/palette.cpp b/src/os2/palette.cpp index 42454c09e2..55f41907bc 100644 --- a/src/os2/palette.cpp +++ b/src/os2/palette.cpp @@ -111,7 +111,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::GetPixel( unsigned char cRed,