From 4a08026583a0c08c20fa9a6beed00445c9e434bf Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 22 May 2007 06:35:53 +0000 Subject: [PATCH] cgimageref support git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/menuitem.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mac/carbon/menuitem.cpp b/src/mac/carbon/menuitem.cpp index 7d6dc48db1..fc522da38e 100644 --- a/src/mac/carbon/menuitem.cpp +++ b/src/mac/carbon/menuitem.cpp @@ -76,6 +76,9 @@ void wxMenuItem::UpdateItemBitmap() if ( info.contentType == kControlContentIconRef ) SetMenuItemIconHandle( mhandle , index , kMenuIconRefType , (Handle) info.u.iconRef ) ; + else if ( info.contentType == kControlContentCGImageRef ) + SetMenuItemIconHandle( mhandle , index , + kMenuCGImageRefType , (Handle) info.u.imageRef ) ; } wxMacReleaseBitmapButton( &info ) ; #endif