suppress harmless warning about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5ec58699d0
commit
83c23edb02
@ -496,8 +496,13 @@ IconRef wxBitmapRefData::GetIconRef()
|
||||
}
|
||||
}
|
||||
HUnlock( data );
|
||||
|
||||
OSStatus err = SetIconFamilyData( iconFamily, dataType , data );
|
||||
wxASSERT_MSG( err == noErr , wxT("Error when adding bitmap") );
|
||||
if ( err != noErr )
|
||||
{
|
||||
wxFAIL_MSG("Error when adding bitmap");
|
||||
}
|
||||
|
||||
DisposeHandle( data );
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user