]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/paletteg.cpp
Converted wxVariant to use wxObject's reference counting facilities. Should make...
[wxWidgets.git] / src / generic / paletteg.cpp
index 760e6039f586b5114f5403a5f61ee44491e90662..5b89e26230204dac5565cb4acc93ed37e2cb5bd9 100644 (file)
@@ -152,7 +152,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<const wxPaletteRefData *>(data));
 }
 
 #endif // wxUSE_PALETTE