Fixed typos as reported by Adrian Gschwend.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2003-06-09 16:27:04 +00:00
parent 1c84423290
commit 33c6ae1d81

View File

@ -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;