]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
Initialised m_isBeingDeleted -- I don't know how anything
[wxWidgets.git] / src / motif / control.cpp
index a5a8fc3bfa9f1cb85020b73699972550409d2ef3..e488c043aa420b86c6d5eca16253e8d9d1ec428d 100644 (file)
@@ -89,8 +89,7 @@ void wxControl::SetLabel(const wxString& label)
     if (!widget)
         return;
 
-    wxString buf(wxStripMenuCodes(label));
-    wxXmString label_str(buf);
+    wxXmString label_str(wxStripMenuCodes(label));
 
     XtVaSetValues (widget,
         XmNlabelString, label_str(),