Lines Matching refs:tool2
1225 wxToolBarTool *tool2 = (wxToolBarTool*) node2->GetData();
1227 const long idx = tool2->GetIndex();
1230 if ( tool2->IsControl() )
1232 CFIndex count = CFGetRetainCount( tool2->GetControl()->GetPeer()->GetControlRef() ) ;
1234 wxASSERT( IsValidControlHandle(tool2->GetControl()->GetPeer()->GetControlRef() )) ;
1242 if ( tool2->IsControl() )
1244 CFIndex count = CFGetRetainCount( tool2->GetControl()->GetPeer()->GetControlRef() ) ;
1246 wxASSERT( IsValidControlHandle(tool2->GetControl()->GetPeer()->GetControlRef() )) ;
1249 tool2->SetIndex(-1);
1666 wxToolBarToolBase *tool2 = node->GetData();
1667 if ( tool2 == tool )
1715 wxToolBarTool *tool2 = (wxToolBarTool*) node->GetData();
1716 wxPoint pt = tool2->GetPosition();
1723 tool2->SetPosition( pt );
1728 if ( removeIndex != -1 && tool2->GetIndex() > removeIndex )
1729 tool2->SetIndex( tool2->GetIndex() - 1 );