]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/palette.cpp
Fix vertical rules rendering in generic wxDataViewCtrl.
[wxWidgets.git] / src / os2 / palette.cpp
index 42454c09e23b907dd44be00c3466560739a98b28..55f41907bcd4c06726f00fadec061c70c0f2bec3 100644 (file)
@@ -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<const wxPaletteRefData *>(data));
 }
 
 int wxPalette::GetPixel( unsigned char cRed,