fix for quartz case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -182,7 +182,7 @@ bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip)
|
|||||||
CGImageRef pImage;
|
CGImageRef pImage;
|
||||||
|
|
||||||
#if wxMAC_USE_CORE_GRAPHICS
|
#if wxMAC_USE_CORE_GRAPHICS
|
||||||
pImage = bmp.CGImageCreate() ;
|
pImage = (CGImageRef) bmp.CGImageCreate() ;
|
||||||
#else
|
#else
|
||||||
wxMask* mask = bmp.GetMask();
|
wxMask* mask = bmp.GetMask();
|
||||||
if (!mask)
|
if (!mask)
|
||||||
|
Reference in New Issue
Block a user