From e20428397d812a1626cf96549682eb05ccb34b42 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Fri, 18 Oct 2013 07:16:04 +0000 Subject: [PATCH] fixing compile after cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/osx/carbon/toolbar.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osx/carbon/toolbar.cpp b/src/osx/carbon/toolbar.cpp index 374b7e471b..07121fbd85 100644 --- a/src/osx/carbon/toolbar.cpp +++ b/src/osx/carbon/toolbar.cpp @@ -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;