X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2cb636a1f81e4a1364559cca7e8179faa85f7a2..ba86da30cf1a2a8429f3af465cbb6c9f52b307fb:/src/common/iconbndl.cpp?ds=inline diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index a67762962e..ff0f827573 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -73,7 +73,7 @@ wxGDIRefData *wxIconBundle::CreateGDIRefData() const wxGDIRefData *wxIconBundle::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxIconBundleRefData(*wx_static_cast(const wxIconBundleRefData *, data)); + return new wxIconBundleRefData(*static_cast(data)); } void wxIconBundle::DeleteIcons() @@ -161,7 +161,7 @@ wxIcon wxIconBundle::GetIcon(const wxSize& size) const } } -#if defined( __WXMAC__ ) && wxOSX_USE_CARRBON +#if defined( __WXMAC__ ) && wxOSX_USE_CARBON return wxIcon(iconBest.GetHICON(), size); #else return iconBest;