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:
parent
ddb08e02c4
commit
9cc62fc819
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user