+ m_labelOrig = label; // save original label
+
+ // Motif does not support ellipsized labels natively
+ DoSetLabel(GetEllipsizedLabel());
+}
+
+// for wxST_ELLIPSIZE_* support:
+
+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));