git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22305
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxXmString str( item.c_str() );
XmComboBoxAddItem((Widget) m_mainWidget, str(), pos+1);
wxXmString str( item.c_str() );
XmComboBoxAddItem((Widget) m_mainWidget, str(), pos+1);
-#ifndef __VMS
- //FIX me for VMS : no intance for insert function to overload
- m_stringList.Insert(pos, item);
-#endif
+ wxChar* copy = wxStrcpy(new wxChar[item.length() + 1], item.c_str());
+ m_stringList.Insert(pos, copy);
m_noStrings ++;
return pos;
m_noStrings ++;
return pos;