Remove bad casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2866,7 +2866,7 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
|
||||
{
|
||||
// Ask the tree control what tooltip (if any) should be shown
|
||||
wxTreeEvent hevent(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, GetId());
|
||||
hevent.m_item = (long) hoverItem;
|
||||
hevent.m_item = hoverItem;
|
||||
hevent.SetEventObject(this);
|
||||
|
||||
if ( GetEventHandler()->ProcessEvent(hevent) && hevent.IsAllowed() )
|
||||
|
Reference in New Issue
Block a user