• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/mac/classic/

Lines Matching refs:tool

313     // Find the maximum tool width and height
317 wxToolBarTool *tool = (wxToolBarTool *)node->GetData();
318 wxSize sz = tool->GetSize() ;
331 wxToolBarTool *tool = (wxToolBarTool *)node->GetData();
332 wxSize cursize = tool->GetSize() ;
340 tool->SetPosition( wxPoint( x , y ) ) ;
399 wxToolBarTool* tool = (wxToolBarTool*) node->GetData() ;
400 if ( tool->IsButton() )
402 if( (WXWidget) tool->GetControlHandle() == control )
404 if ( tool->CanBeToggled() )
406 tool->Toggle( GetControl32BitValue( (ControlHandle) control ) ) ;
408 OnLeftClick( tool->GetId() , tool -> IsToggled() ) ;
437 wxToolBarTool *tool = (wxToolBarTool *)node->GetData() ;
438 wxRect2DInt r( tool->GetPosition() , tool->GetSize() ) ;
441 return tool;
452 wxToolBarToolBase* tool = FindToolForPosition( pt.x , pt.y ) ;
453 if ( tool )
455 return tool->GetShortHelp() ;
465 wxToolBarTool *tool = (wxToolBarTool *)t;
466 if ( tool->IsControl() )
468 tool->GetControl()->Enable( enable ) ;
470 else if ( tool->IsButton() )
473 UMAActivateControl( tool->GetControlHandle() ) ;
475 UMADeactivateControl( tool->GetControlHandle() ) ;
484 wxToolBarTool *tool = (wxToolBarTool *)t;
485 if ( tool->IsButton() )
487 ::SetControl32BitValue( tool->GetControlHandle() , toggle ) ;
492 wxToolBarToolBase *tool)
495 tool->Attach(this);
501 void wxToolBar::DoSetToggle(wxToolBarToolBase *WXUNUSED(tool), bool WXUNUSED(toggle))
506 bool wxToolBar::DoDeleteTool(size_t WXUNUSED(pos), wxToolBarToolBase *tool)
512 if ( tool2 == tool )
521 wxSize sz = ((wxToolBarTool*)tool)->GetSize() ;
523 tool->Detach();
559 wxToolBarTool* tool = (wxToolBarTool*) node->GetData() ;
560 if ( tool->IsButton() )
562 UMADrawControl( tool->GetControlHandle() ) ;