X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e98e625cbbe269f109b2296a045a657cba00fede..8a18ea3f03ee46d13545a26156631ac102441fc1:/src/common/iconbndl.cpp?ds=sidebyside diff --git a/src/common/iconbndl.cpp b/src/common/iconbndl.cpp index 509044fadd..ab8ecc932d 100644 --- a/src/common/iconbndl.cpp +++ b/src/common/iconbndl.cpp @@ -181,7 +181,7 @@ wxIcon wxIconBundle::GetIcon(const wxSize& size) const } } -#ifdef __WXMAC__ +#if defined( __WXMAC__ ) && wxOSX_USE_CARRBON return wxIcon(iconBest.GetHICON(), size); #else return iconBest;