]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/paletteg.cpp
When wxPGProperty is un-attached from wxPropertyGrid, keep its 'default' cell referen...
[wxWidgets.git] / src / generic / paletteg.cpp
index 760e6039f586b5114f5403a5f61ee44491e90662..a30275fb18d337529ab638acb432eca56aa226a5 100644 (file)
@@ -82,8 +82,8 @@ int wxPalette::GetColoursCount() const
 {
     if (m_refData)
         return M_PALETTEDATA->m_count;
-    
-    return 0;    
+
+    return 0;
 }
 
 bool wxPalette::Create(int n,
@@ -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