git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3184
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString label1(wxStripMenuCodes(title));
wxString label1(wxStripMenuCodes(title));
- wxXmString text(label1.c_str());
-
Widget formWidget = XtVaCreateManagedWidget (name.c_str(),
xmFormWidgetClass, parentWidget,
XmNmarginHeight, 0,
Widget formWidget = XtVaCreateManagedWidget (name.c_str(),
xmFormWidgetClass, parentWidget,
XmNmarginHeight, 0,
xmLabelWidgetClass, formWidget,
#endif
XmNfontList, fontList,
xmLabelWidgetClass, formWidget,
#endif
XmNfontList, fontList,
+ XmNlabelString, text(),
- majorDim = (n + majorDim - 1) / majorDim;
+ majorDim = (n + m_majorDim - 1) / majorDim;
XtSetArg (args[0], XmNorientation, ((style & wxHORIZONTAL) == wxHORIZONTAL ?
XmHORIZONTAL : XmVERTICAL));
XtSetArg (args[0], XmNorientation, ((style & wxHORIZONTAL) == wxHORIZONTAL ?
XmHORIZONTAL : XmVERTICAL));
- XtSetArg (args[1], XmNnumColumns, majorDim);
+ XtSetArg (args[1], XmNnumColumns, m_majorDim);
Widget radioBoxWidget = XmCreateRadioBox (frameWidget, "radioBoxWidget", args, 2);
m_mainWidget = (WXWidget) radioBoxWidget;
Widget radioBoxWidget = XmCreateRadioBox (frameWidget, "radioBoxWidget", args, 2);
m_mainWidget = (WXWidget) radioBoxWidget;