From: Stefan Neis Date: Mon, 9 Jun 2003 16:27:04 +0000 (+0000) Subject: Fixed typos as reported by Adrian Gschwend. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/33c6ae1d8141915d1a2acb70f417f95b66cb110a Fixed typos as reported by Adrian Gschwend. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;