X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..29188693b3b8ba4b07762df012cc652d421dae79:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 0e89d1e8f1..2bc89731c1 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -686,7 +686,7 @@ int wxSimpleHtmlListBox::DoInsertItems(const wxArrayStringsAdapter& items, UpdateCount(); - return pos; + return pos - 1; } void wxSimpleHtmlListBox::SetString(unsigned int n, const wxString& s)