]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for quartz case
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Feb 2005 14:32:59 +0000 (14:32 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 21 Feb 2005 14:32:59 +0000 (14:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/taskbar.cpp

index c110b0c5359b27f6ce45d06d74b43edd95ff74fe..7cce1813fd9b29394af799d3536ff23937a7adf2 100644 (file)
@@ -182,7 +182,7 @@ bool wxTaskBarIcon::SetIcon(const wxIcon& icon, const wxString& tooltip)
     CGImageRef pImage;
     
 #if wxMAC_USE_CORE_GRAPHICS        
-    pImage = bmp.CGImageCreate() ;
+    pImage = (CGImageRef) bmp.CGImageCreate() ;
 #else
     wxMask* mask = bmp.GetMask();
     if (!mask)