Cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -573,19 +573,7 @@ void wxToolBar::OnPaint(wxPaintEvent& event)
|
|||||||
toolbarrect.top = 0 ;
|
toolbarrect.top = 0 ;
|
||||||
*/
|
*/
|
||||||
UMADrawThemePlacard( &toolbarrect , IsEnabled() ? kThemeStateActive : kThemeStateInactive) ;
|
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() ;
|
event.Skip() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user