- Widget radioBoxWidget = XmCreateRadioBox (frameWidget, "radioBoxWidget", args, 2);
- m_mainWidget = (WXWidget) radioBoxWidget;
-
-
- if (m_labelWidget)
- XtVaSetValues ((Widget) m_labelWidget,
- XmNtopAttachment, XmATTACH_FORM,
- XmNleftAttachment, XmATTACH_FORM,
- XmNalignment, XmALIGNMENT_BEGINNING,
- NULL);
-
- XtVaSetValues (radioBoxWidget,
- XmNtopAttachment, m_labelWidget ? XmATTACH_WIDGET : XmATTACH_FORM,
- XmNtopWidget, m_labelWidget ? (Widget) m_labelWidget : formWidget,
- XmNbottomAttachment, XmATTACH_FORM,
- XmNleftAttachment, XmATTACH_FORM,
- XmNrightAttachment, XmATTACH_FORM,
- NULL);
+ Widget radioBoxWidget =
+ XmCreateRadioBox ((Widget)m_mainWidget, "radioBoxWidget", args, 3);