warning in GetItemFromPoint with mingw32 fixed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-02-17 08:04:28 +00:00
parent 99ab9f3bf9
commit 81ef7f0818

View File

@@ -247,7 +247,8 @@ static HTREEITEM GetItemFromPoint(HWND hwndTV, int x, int y)
tvht.pt.x = x;
tvht.pt.y = y;
return TreeView_HitTest(hwndTV, &tvht);
// TreeView_HitTest() doesn't do the right cast in mingw32 headers
return (HTREEITEM)TreeView_HitTest(hwndTV, &tvht);
}
// ----------------------------------------------------------------------------