Blind fix for typo in 50972.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2008-01-02 13:09:17 +00:00
parent 31c0639151
commit 038c03337f

View File

@@ -1234,7 +1234,7 @@ void ListBoxImpl::Append(char *s, int type) {
void ListBoxImpl::Append(const wxString& text, int type) {
long count = GETLB(id)->GetItemCount();
long itemID = GETLB(id)->InsertItem(count, wxEmptyString);
ling idx = -1;
long idx = -1;
GETLB(id)->SetItem(itemID, 1, text);
maxStrWidth = wxMax(maxStrWidth, text.length());
if (type != -1) {