X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2cb636a1f81e4a1364559cca7e8179faa85f7a2..df6007a555a2c747ff379e3bd83d23ea310ca75d:/src/common/iconbndl.cpp?ds=sidebyside 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;