]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/choice.cpp
Minor header cleaning.
[wxWidgets.git] / src / motif / choice.cpp
index ba418a03e99f014d846ff7100ea802de8453f7bb..585c467600427ab9b8ebef615139340c1ef19e9c 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
+    #include "wx/arrstr.h"
 #endif
 
-#include "wx/arrstr.h"
-
 #ifdef __VMS__
 #pragma message disable nosimpint
 #endif
@@ -196,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