From 64acfbb2be61abb6ec69051b5c4e38df64c4807a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Aug 2000 10:12:26 +0000 Subject: [PATCH] bug #101 (wxListCtrl::GetItemRect() returns rectangle with incorrect height) fixed git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8157 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 b2febb8436..8634a74f8a 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -777,7 +777,7 @@ bool wxListCtrl::GetItemRect(long item, wxRect& rect, int code) const rect.x = rect2.left; rect.y = rect2.top; rect.width = rect2.right - rect2.left; - rect.height = rect2.bottom - rect2.left; + rect.height = rect2.bottom - rect2.top; return success; } -- 2.45.2