From 020e385d47a4a76f1d7246a9751c35e1001db38b Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Tue, 28 Mar 2006 14:15:10 +0000 Subject: [PATCH] Warning fix for wxOS2 night build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/os2/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.45.2