wxItem::Centre
voidCentreint direction = wxHORIZONTAL
Centres the frame on the panel or dialog box. The parameter may be wxHORIZONTAL, wxVERTICAL or wxBOTH.
You may still use Fit in conjunction with this call, but call Fit first before centring items.
wxItem::SetDefault
voidSetDefault
This sets the window to be the default item for the panel or dialog box. Under XView, the default item is highlighted, and pressing the return key executes the callback for the item (but with no visual feedback, and only if a text item does not have the focus).
Under Windows 3, only dialog box buttons respond to this function. As normal under Windows 3, pressing return causes the default button to be depressed when the return key is pressed. See also wxWindow::SetFocus which sets the keyboard focus for windows and text panel items.
wxItem::SetLabel
voidwxItemchar *label
Sets the item's label. A copy of the label is taken.
wxItem::GetLabel
char *wxItem
Gets a temporary pointer to the item's label.