]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/choice.cpp
compilation fix
[wxWidgets.git] / 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;