X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e45080c10b11190028e843b617564caec95e82dd..302c73511a6819c5a56269ba95cb18eb11e994f0:/src/cocoa/icon.mm diff --git a/src/cocoa/icon.mm b/src/cocoa/icon.mm index 44983b7272..2f56004db6 100644 --- a/src/cocoa/icon.mm +++ b/src/cocoa/icon.mm @@ -107,7 +107,7 @@ 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(data)); } bool wxIcon::CreateFromXpm(const char* const* xpm)