]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
don't throw away the first three stack frames in the assert stack dump (fix needed...
[wxWidgets.git] / src / os2 / listbox.cpp
index bdc00bfefe8e119b3245eccba7eb011ed3ac90d6..4a057dea63afee9ad72f9085dcc9e98e296e54ac 100644 (file)
@@ -608,7 +608,7 @@ void wxListBox::SetString(int N, const wxString& rsString)
 
     int                             nNewN = N;
 
-    if (N == m_nNumItems - 1)
+    if (N == (int)(m_nNumItems - 1))
         nNewN = -1;
 
     ::WinSendMsg( GetHwnd()