From c1888b05b0bf8b5b20099b87756bd5883d94c5d0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 27 May 1998 23:30:50 +0000 Subject: [PATCH] spurious "(uint)" cast which was causing compilation warnings removed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/checklst.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/checklst.cpp b/src/msw/checklst.cpp index a04d7689aa..719c81643c 100644 --- a/src/msw/checklst.cpp +++ b/src/msw/checklst.cpp @@ -292,7 +292,7 @@ void wxCheckListBox::OnChar(wxKeyEvent& event) void wxCheckListBox::OnLeftClick(wxMouseEvent& event) { // clicking on the item selects it, clicking on the checkmark toggles - if ( (uint)event.GetX() <= wxOwnerDrawn::GetDefaultMarginWidth() ) { + if ( event.GetX() <= wxOwnerDrawn::GetDefaultMarginWidth() ) { // # better use LB_ITEMFROMPOINT perhaps? uint nItem = ((uint)event.GetY()) / m_nItemHeight; if ( nItem < (uint)m_noItems ) -- 2.45.2