Widget parentWidget = (Widget) parent->GetClientWidget();
- m_mainWidget = XtVaCreateWidget ("radiobxoframe",
+ m_mainWidget = XtVaCreateWidget ("radioboxframe",
xmFrameWidgetClass, parentWidget,
XmNshadowType, XmSHADOW_IN,
XmNresizeHeight, True,
#endif
XmNfontList, fontList,
XmNlabelString, text(),
+// XmNframeChildType is not in Motif 1.2, nor in Lesstif,
+// if it was compiled with 1.2 compatibility
+// TODO: check this still looks OK for Motif 1.2.
+#if (XmVersion > 1200)
XmNframeChildType, XmFRAME_TITLE_CHILD,
+#endif
XmNchildVerticalAlignment, XmALIGNMENT_CENTER,
NULL);
}