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:
Vadim Zeitlin 2009-07-03 12:16:20 +00:00
parent 5ec58699d0
commit 83c23edb02

View File

@ -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