]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
removed obsolete and incorrect comment
[wxWidgets.git] / src / motif / radiobut.cpp
index 70847aee230b36116f6d3af682a5a68859860f7a..5a6680e165ac38f34ad18c2c6024baf504bf298e 100644 (file)
 #define XtDisplay XTDISPLAY
 #endif
 
-#include "wx/defs.h"
-
 #include "wx/radiobut.h"
-#include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+#endif
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -54,7 +55,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id,
     Widget parentWidget = (Widget) parent->GetClientWidget();
     Display* dpy = XtDisplay(parentWidget);
 
-    wxString label1(wxStripMenuCodes(label));
+    wxString label1(GetLabelText(label));
 
     wxXmString text( label1 );