X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/243dbf1a5088be31980df51b97831b52cb6986cd..e4ffab299a1a214fbdd9e3941909323875b32e28:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index c989624c46..6098b3afa4 100644 --- a/src/os2/choice.cpp +++ b/src/os2/choice.cpp @@ -112,7 +112,7 @@ int wxChoice::DoAppend( } // end of wxChoice::DoAppend int wxChoice::DoInsert( - const wxString& rsItem + const wxString& rsItem, int pos ) { @@ -120,7 +120,7 @@ int wxChoice::DoInsert( wxCHECK_MSG((pos>=0) && (pos<=GetCount()), -1, wxT("invalid index")); if (pos == GetCount()) - return DoAppend(item); + return DoAppend(rsItem); int nIndex; SHORT nIndexType = 0;