X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa61d3525370a9b9fa8c797d9b7f89d96994db5f..2f02438455eb15e03039d701adaec56ddf2fb97c:/src/os2/listbox.cpp diff --git a/src/os2/listbox.cpp b/src/os2/listbox.cpp index b8adb5cec7..410fe754da 100644 --- a/src/os2/listbox.cpp +++ b/src/os2/listbox.cpp @@ -607,7 +607,7 @@ void wxListBox::SetString(unsigned int n, const wxString& rsString) int nNewN = n; - if (n == (int)(m_nNumItems - 1)) + if (n == (m_nNumItems - 1)) nNewN = -1; ::WinSendMsg( GetHwnd()