]> git.saurik.com Git - wxWidgets.git/commitdiff
wxTreeCtrl::IsVisible() fix fix - a (LPARAM) typecast was lost in the last checkin
authorGeorge Tasker <gtasker@allenbrook.com>
Wed, 1 Dec 1999 01:45:29 +0000 (01:45 +0000)
committerGeorge Tasker <gtasker@allenbrook.com>
Wed, 1 Dec 1999 01:45:29 +0000 (01:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/treectrl.cpp

index 332911d7676bddc4b37934616b209477508e95f3..96818dd14dc20d41f0dcfd20094cfccea1fb86f6 100644 (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;
 
 }