]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/palette.cpp
Use the app name, not display name, as debug report name,
[wxWidgets.git] / src / msw / palette.cpp
index 570f4d96c80a117a27f5f24ea9d3cd06580385a4..a9c9fc8056ea2c5b25976f4cb294369df053bf42 100644 (file)
@@ -55,6 +55,7 @@ public:
     }
 
     wxPaletteRefData(const wxPaletteRefData& data)
+        : wxGDIRefData()
     {
         Init();
 
@@ -132,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