#include "wx/mac/uma.h"
+#include "wx/dcmemory.h"
+
// Implementation Notes
// --------------------
//
{
ReleaseIconRef(info->u.iconRef) ;
}
-#if wxMAC_USE_CORE_GRAPHICS
+#if wxMAC_USE_CORE_GRAPHICS && MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_2
else if ( info->contentType == kControlContentCGImageRef )
{
CGImageRelease( info->u.imageRef ) ;
}
}
+#define M_BITMAPDATA ((wxBitmapRefData *)m_refData)
void wxBitmapRefData::Init()
{
Handle imagehandle = NewHandle(0) ;
Handle maskhandle = NewHandle(0) ;
- OSType maskType ;
- OSType dataType ;
- IconSelectorValue selector ;
+ OSType maskType = 0;
+ OSType dataType = 0;
+ IconSelectorValue selector = 0 ;
if ( w == 128 )
{
dataType = kThumbnail32BitData ;