X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b3f61d14cbc6cc117373d173ecf08fbec4c9a38..3999336cb9ff3ef20d707d3eea470b2609a9c7c3:/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,