removing duplicated error message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1202,12 +1202,6 @@ bool wxToolBar::Realize()
|
|||||||
tool2->SetIndex(-1);
|
tool2->SetIndex(-1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err != noErr)
|
|
||||||
{
|
|
||||||
wxString errMsg = wxString::Format( wxT("HIToolbarRemoveItemAtIndex failed [%ld]"), (long)err );
|
|
||||||
wxFAIL_MSG( errMsg.c_str() );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
err = HIToolbarInsertItemAtIndex( (HIToolbarRef) m_macHIToolbarRef, hiItemRef, currentPosition );
|
err = HIToolbarInsertItemAtIndex( (HIToolbarRef) m_macHIToolbarRef, hiItemRef, currentPosition );
|
||||||
|
Reference in New Issue
Block a user