]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/listbox.cpp
added ellipsis to a couple of stock labels
[wxWidgets.git] / src / motif / listbox.cpp
index 07670065d8da97100c4d20037f50f1bb1793163d..fc4ea95718d4c44d75e65dcc145a68cc673305ef 100644 (file)
@@ -120,7 +120,7 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
 
     Widget listWidget =
         XmCreateScrolledList(parentWidget,
-                             wxConstCast(name.c_str(), char), args, count);
+                             wxConstCast(name.mb_str(), char), args, count);
 
     m_mainWidget = (WXWidget) listWidget;