]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/choice.cpp
[#1577388] - fix for scaling in wxImage.
[wxWidgets.git] / src / motif / choice.cpp
index 11153b562dd05bc8e7e5b6dbdbbdd410e3332842..585c467600427ab9b8ebef615139340c1ef19e9c 100644 (file)
@@ -195,7 +195,7 @@ int wxChoice::DoInsert(const wxString& item, unsigned int pos)
 #ifndef XmNpositionIndex
     wxCHECK_MSG( pos == GetCount(), -1, wxT("insert not implemented"));
 #endif
-    Widget w = XtVaCreateManagedWidget (wxStripMenuCodes(item),
+    Widget w = XtVaCreateManagedWidget (GetLabelText(item),
 #if wxUSE_GADGETS
         xmPushButtonGadgetClass, (Widget) m_menuWidget,
 #else