Lines Matching defs:control
40 #include "wx/control.h"
153 wxToolBarTool(wxToolBar *tbar, wxControl *control)
154 : wxToolBarToolBase(tbar, control)
173 // a control in the toolbar
204 wxToolBarToolBase *wxToolBar::CreateTool(wxControl *control)
206 return new wxToolBarTool(this, control);
246 // the style after creating the control; doing it at creation time doesn't work
268 // Fix a bug on e.g. the Silver theme on WinXP where control backgrounds
315 // it is for the old bitmap control and can't be used with the new one
473 // by a control
531 wxControl *control = tool2->GetControl();
532 control->GetPosition(&x, NULL);
533 control->Move(x - width, wxDefaultCoord);
1023 // can only be control if isVertical
1029 wxControl *control = tool->GetControl();
1030 wxSize size = control->GetSize();
1042 // control
1085 control->SetSize((nSeparators + 1)*widthSep, wxDefaultCoord);
1088 // position the control itself correctly vertically
1093 // the control is too high, resize to fit
1094 control->SetSize(wxDefaultCoord, height - 2);
1115 control->Move(left, top + (diff + 1) / 2);
1220 // the tooltips control created by the toolbar is sometimes Unicode, even
1312 // control itself
1652 // for each control in the toolbar find all the separators intersecting it
1656 // corresponds to a control (i.e. is a dummy one) or a real one
1663 // get the control rect in our client coords
1664 wxControl *control = tool->GetControl();
1665 wxRect rectCtrl = control->GetRect();
1694 // does it intersect the control?
1736 control->Refresh(false);