]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/palette.cpp
preserve type when loaded image is rescaled, #11543
[wxWidgets.git] / src / msw / palette.cpp
index 800db50b2c802991908ddaf6cddb7b127ffb0ecb..a9c9fc8056ea2c5b25976f4cb294369df053bf42 100644 (file)
@@ -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<const wxPaletteRefData *>(data));
 }
 
 int wxPalette::GetColoursCount() const