+wxString wxStaticText::DoGetLabel() const
+{
+ XmString label = NULL;
+ XtVaGetValues((Widget)m_labelWidget, XmNlabelString, &label, NULL);
+
+ return wxXmStringToString(label);
+}
+
+void wxStaticText::DoSetLabel(const wxString& str)
+{
+ // build our own cleaned label
+ wxXmString label_str(RemoveMnemonics(str));
+
+ // This variable means we don't need so many casts later.
+ Widget widget = (Widget) m_labelWidget;
+
+ XtVaSetValues(widget,
+ XmNlabelString, label_str(),
+ XmNlabelType, XmSTRING,
+ NULL);