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:
Stefan Csomor
2007-04-10 11:25:14 +00:00
parent 39183827a1
commit a96745c934

View File

@@ -1202,12 +1202,6 @@ bool wxToolBar::Realize()
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 );