From: Stefan Csomor Date: Mon, 29 Mar 2004 14:49:20 +0000 (+0000) Subject: Cleanup X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/785f5eaa05195f5e44a974861864324667a3326e Cleanup git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/toolbar.cpp b/src/mac/carbon/toolbar.cpp index 2dd8872464..58b625e7b2 100644 --- a/src/mac/carbon/toolbar.cpp +++ b/src/mac/carbon/toolbar.cpp @@ -573,19 +573,7 @@ void wxToolBar::OnPaint(wxPaintEvent& event) toolbarrect.top = 0 ; */ UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ; -/* - { - wxToolBarToolsList::Node *node; - for ( node = m_tools.GetFirst(); node; node = node->GetNext() ) - { - wxToolBarTool* tool = (wxToolBarTool*) node->GetData() ; - if ( tool->IsButton() ) - { - UMADrawControl( (ControlRef) tool->GetControlHandle() ) ; - } - } - } -*/ + event.Skip() ; }