From 77cfdec054792a9d1b90d15e5e3861a2f0291d7c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 1 Aug 2008 14:31:00 +0000 Subject: [PATCH] removed a cast to WPARAM which was unnecessary and provoked a warning (part of #9803) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index d8a3184294..ff4b32b802 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -2706,7 +2706,7 @@ static void HandleItemPaint(LPNMLVCUSTOMDRAW pLVCD, HFONT hfont) // same thing for CDIS_FOCUS (except simpler as there is only one of them) if ( ::GetFocus() == hwndList && - ListView_GetNextItem(hwndList, (WPARAM)-1, LVNI_FOCUSED) == item ) + ListView_GetNextItem(hwndList, -1, LVNI_FOCUSED) == item ) { nmcd.uItemState |= CDIS_FOCUS; } -- 2.45.2