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
This commit is contained in:
George Tasker 1999-12-01 01:45:29 +00:00
parent 52a5502004
commit 1c74a90041

View File

@ -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;
}