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:
@@ -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);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user