]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/palette.cpp
use a common m_isInsideYield flag instead of static booleans in all ports; add a...
[wxWidgets.git] / src / x11 / palette.cpp
index 79f27675560330046fae2b18d023e8cb86311fb1..8062102b748d492799559b657cce0380919b448b 100644 (file)
@@ -177,7 +177,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 WXUNUSED(red),