wxPanel::SetLabelPosition

void SetLabelPosition(int position)

Determines the current method of placing labels on panel items: if position is wxHORIZONTAL, labels are placed to the left of the item value. If position is wxVERTICAL, the label is placed above the item value. The default behaviour is to have horizontal label placing.

Under Windows 3, this function words for wxText, wxChoice and wxListBox. Under XView, absolute positioning must be used for the wxVERTICAL position to work in some cases. This is because of some strange behaviour in XView where setting a horizontal layout orientation but a vertical label position causes items after list box to appear too low on the panel. So, where it is necessary to have vertical labels, use absolute positioning where results are not as expected.