]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typos as reported by Adrian Gschwend.
authorStefan Neis <Stefan.Neis@t-online.de>
Mon, 9 Jun 2003 16:27:04 +0000 (16:27 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Mon, 9 Jun 2003 16:27:04 +0000 (16:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/choice.cpp

index c989624c46510cbb7464c0e4537695be12a0dc83..6098b3afa471faf797745c9081ea096616bdc5b6 100644 (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;