]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/radiobut.cpp
Added pango_context_get_language to speed up pango_context_get_metrics
[wxWidgets.git] / src / motif / radiobut.cpp
index 956e8d65aaec91c09c62c5f679376d55c7c719d6..5a6680e165ac38f34ad18c2c6024baf504bf298e 100644 (file)
 #endif
 
 #include "wx/radiobut.h"
-#include "wx/utils.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/utils.h"
+#endif
 
 #ifdef __VMS__
 #pragma message disable nosimpint
@@ -52,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 );