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