]> git.saurik.com Git - wxWidgets.git/commitdiff
Warning fix for wxOS2 night build.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 28 Mar 2006 14:15:10 +0000 (14:15 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 28 Mar 2006 14:15:10 +0000 (14:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/listbox.cpp

index b8adb5cec74ef61c9c924499ec88f88b22d3a83a..410fe754da284c7c55845b1c2cd4c77ac59bb4bd 100644 (file)
@@ -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()