]> git.saurik.com Git - wxWidgets.git/commitdiff
Compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Mon, 12 May 2003 19:54:01 +0000 (19:54 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Mon, 12 May 2003 19:54:01 +0000 (19:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/univ/combobox.cpp

index 4248176caaa788cb021771d478424cd2a6a929e8..4c122a19045fbb603486845e89a211a0afc1ad63 100644 (file)
@@ -833,7 +833,7 @@ int wxComboBox::DoInsert(const wxString& item, int pos)
     if (pos == GetCount())
         return DoAppend(item);
 
-    GetLBox()->Insert(1, &item, pos);
+    GetLBox()->Insert(item, pos);
     return pos;
 }