From 1c74a90041e94cfceae42c75add1cf2c7e3df5f0 Mon Sep 17 00:00:00 2001 From: George Tasker Date: Wed, 1 Dec 1999 01:45:29 +0000 Subject: [PATCH] wxTreeCtrl::IsVisible() fix fix - a (LPARAM) typecast was lost in the last checkin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/treectrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 332911d767..96818dd14d 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -729,7 +729,7 @@ bool wxTreeCtrl::IsVisible(const wxTreeItemId& item) const *(WXHTREEITEM *)&rect = (WXHTREEITEM)item; // FALSE means get item rect for the whole item, not only text - return SendMessage(GetHwnd(), TVM_GETITEMRECT, FALSE, &rect) != 0; + return SendMessage(GetHwnd(), TVM_GETITEMRECT, FALSE, (LPARAM)&rect) != 0; }