git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67902
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
static wxBitmap trianglebm(disc_triangle_xpm);
if ( downArray.get() == NULL )
{
static wxBitmap trianglebm(disc_triangle_xpm);
if ( downArray.get() == NULL )
{
- downArray.reset( [wxDisclosureNSButton rotateImage:trianglebm.GetNSImage()] );
+ downArray.reset( [[wxDisclosureNSButton rotateImage:trianglebm.GetNSImage()] retain] );
fromRect:NSZeroRect operation:NSCompositeCopy fraction:1.0];
[newImage unlockFocus];
fromRect:NSZeroRect operation:NSCompositeCopy fraction:1.0];
[newImage unlockFocus];
+ return [newImage autorelease];