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:
@@ -112,7 +112,7 @@ int wxChoice::DoAppend(
|
|||||||
} // end of wxChoice::DoAppend
|
} // end of wxChoice::DoAppend
|
||||||
|
|
||||||
int wxChoice::DoInsert(
|
int wxChoice::DoInsert(
|
||||||
const wxString& rsItem
|
const wxString& rsItem,
|
||||||
int pos
|
int pos
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
@@ -120,7 +120,7 @@ int wxChoice::DoInsert(
|
|||||||
wxCHECK_MSG((pos>=0) && (pos<=GetCount()), -1, wxT("invalid index"));
|
wxCHECK_MSG((pos>=0) && (pos<=GetCount()), -1, wxT("invalid index"));
|
||||||
|
|
||||||
if (pos == GetCount())
|
if (pos == GetCount())
|
||||||
return DoAppend(item);
|
return DoAppend(rsItem);
|
||||||
|
|
||||||
int nIndex;
|
int nIndex;
|
||||||
SHORT nIndexType = 0;
|
SHORT nIndexType = 0;
|
||||||
|
Reference in New Issue
Block a user