fixed (harmless) unused variable warning in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -357,7 +357,10 @@ void wxNotebook::MacSetupTabs()
|
|||||||
ControlButtonContentInfo info ;
|
ControlButtonContentInfo info ;
|
||||||
|
|
||||||
wxMacCreateBitmapButton( &info , bmap ) ;
|
wxMacCreateBitmapButton( &info , bmap ) ;
|
||||||
OSStatus err = m_peer->SetData<ControlButtonContentInfo>( ii+1,kControlTabImageContentTag, &info );
|
#ifdef __WXDEBUG__
|
||||||
|
OSStatus err =
|
||||||
|
#endif // __WXDEBUG__
|
||||||
|
m_peer->SetData<ControlButtonContentInfo>( ii+1,kControlTabImageContentTag, &info );
|
||||||
wxASSERT_MSG( err == noErr , wxT("Error when setting icon on tab") ) ;
|
wxASSERT_MSG( err == noErr , wxT("Error when setting icon on tab") ) ;
|
||||||
wxMacReleaseBitmapButton( &info ) ;
|
wxMacReleaseBitmapButton( &info ) ;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user