Bugs item #3522228, was opened at 2012-04-28 06:17
Message generated for change (Tracker Item Submitted) made by tmodes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3522228&group_id=51305

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: treelistctrl
Group: Subversion TRUNK
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: T. Modes (tmodes)
Assigned to: Ronan Chartois (pgriddev)
Summary: [wxTreeListCtrl] Context menu event is item missing

Initial Comment:
wxEVT_COMMAND_TREE_ITEM_MENU event does not report the item, on which the mouse 
click happened. So it is not possible to get different context menu for 
different items in the tree.
The fix is easy: in src/treelistctrl.cpp: change line 4320: 
SendEvent(wxEVT_COMMAND_TREE_ITEM_MENU, 0, &nevent);
to  SendEvent(wxEVT_COMMAND_TREE_ITEM_MENU, item, &nevent);

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=462816&aid=3522228&group_id=51305

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
wxCode-users mailing list
wxCode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxcode-users

Reply via email to