From 9cc62fc819e1b2b01af9732a3ad218aeec13e4d4 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Tue, 15 Feb 2005 06:00:32 +0000 Subject: [PATCH] compile warnings, M_BITMAPDATA privatized git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mac/carbon/bitmap.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 28c71c4336..02788c2c8e 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -254,6 +254,7 @@ void wxMacReleaseBitmapButton( ControlButtonContentInfo*info ) } } +#define M_BITMAPDATA ((wxBitmapRefData *)m_refData) void wxBitmapRefData::Init() { @@ -539,9 +540,9 @@ bool wxBitmap::CopyFromIcon(const wxIcon& icon) 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 ; -- 2.45.2