]> git.saurik.com Git - wxWidgets.git/commitdiff
No real changes.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:36:03 +0000 (19:36 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 30 Mar 2003 19:36:03 +0000 (19:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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(),