]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/control.cpp
no changes, just replaced C comment with a C++ one
[wxWidgets.git] / src / motif / control.cpp
index 2c00c7cdf35634abd30d4398844e511e86ef68ec..4026913541173fafbe2439ee4d5103e2c4527fff 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
+    #include "wx/panel.h"
 #endif
 
-#include "wx/panel.h"
-
 #ifdef __VMS__
 #pragma message disable nosimpint
 #endif
@@ -86,7 +85,7 @@ void wxControl::SetLabel(const wxString& label)
     if (!widget)
         return;
 
-    wxXmString label_str(wxStripMenuCodes(label));
+    wxXmString label_str(GetLabelText(label));
 
     XtVaSetValues (widget,
         XmNlabelString, label_str(),