Blind compilation fix for old Motif wxComboBox.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2003-07-26 12:26:09 +00:00
parent 52ece50b3e
commit 46ec70fb5a

View File

@@ -155,10 +155,8 @@ int wxComboBox::DoInsert(const wxString& item, int pos)
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;