fixed unused variable warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -931,8 +931,10 @@ bool wxTextCtrl::SetStyle(long start, long end, const wxTextAttr& style)
|
||||
|
||||
if ( attrCounter > 0 )
|
||||
{
|
||||
OSStatus status = TXNSetTypeAttributes ((TXNObject)m_macTXN, attrCounter , typeAttr,
|
||||
start,end);
|
||||
#ifdef __WXDEBUG__
|
||||
OSStatus status =
|
||||
#endif // __WXDEBUG__
|
||||
TXNSetTypeAttributes ((TXNObject)m_macTXN, attrCounter , typeAttr, start,end);
|
||||
wxASSERT_MSG( status == noErr , wxT("Couldn't set text attributes") ) ;
|
||||
}
|
||||
if ( !formerEditable )
|
||||
|
Reference in New Issue
Block a user