]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/icon.mm
moving GetPageInfo to later stage, closes #11494
[wxWidgets.git] / src / cocoa / icon.mm
index cfc23d3cd7379737c3d647786d3f4b88f72d5e55..2f56004db60b116742ec5f04a766b1590236daf8 100644 (file)
@@ -107,10 +107,10 @@ wxGDIRefData *wxIcon::CreateGDIRefData() const
 
 wxGDIRefData *wxIcon::CloneGDIRefData(const wxGDIRefData *data) const
 {
-    return new wxIconRefData(*wx_static_cast(const wxIconRefData *, data));
+    return new wxIconRefData(*static_cast<const wxIconRefData *>(data));
 }
 
-bool wxIcon::CreateFromXpm(const char **xpm)
+bool wxIcon::CreateFromXpm(const char* const* xpm)
 {
     wxBitmap bitmap(xpm);
     CopyFromBitmap(bitmap);