compile warnings, M_BITMAPDATA privatized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2005-02-15 06:00:32 +00:00
parent ddb08e02c4
commit 9cc62fc819

View File

@ -254,6 +254,7 @@ void wxMacReleaseBitmapButton( ControlButtonContentInfo*info )
} }
} }
#define M_BITMAPDATA ((wxBitmapRefData *)m_refData)
void wxBitmapRefData::Init() void wxBitmapRefData::Init()
{ {
@ -539,9 +540,9 @@ bool wxBitmap::CopyFromIcon(const wxIcon& icon)
Handle imagehandle = NewHandle(0) ; Handle imagehandle = NewHandle(0) ;
Handle maskhandle = NewHandle(0) ; Handle maskhandle = NewHandle(0) ;
OSType maskType ; OSType maskType = 0;
OSType dataType ; OSType dataType = 0;
IconSelectorValue selector ; IconSelectorValue selector = 0 ;
if ( w == 128 ) if ( w == 128 )
{ {
dataType = kThumbnail32BitData ; dataType = kThumbnail32BitData ;