fixing compile after cleanup

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2013-10-18 07:16:04 +00:00
parent a3de1d1338
commit e20428397d

View File

@ -1600,8 +1600,6 @@ bool wxToolBar::DoInsertTool(size_t WXUNUSED(pos), wxToolBarToolBase *toolBase)
case wxTOOL_STYLE_BUTTON:
{
wxASSERT( tool->GetControlHandle() == NULL );
ControlButtonContentInfo info;
wxMacCreateBitmapButton( &info, tool->GetNormalBitmap() );
// contrary to the docs this control only works with iconrefs
ControlButtonContentInfo info;