Applied patch which solved conflicts between wxWidgets
and GTK+'s context menu code. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3177,11 +3177,12 @@ void wxGenericTreeCtrl::OnMouse( wxMouseEvent &event )
|
||||
|
||||
if ( event.RightDown() )
|
||||
{
|
||||
DoSelectItem(item, true, false);
|
||||
wxTreeEvent nevent(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, GetId());
|
||||
nevent.m_item = item;
|
||||
nevent.m_pointDrag = CalcScrolledPosition(pt);
|
||||
nevent.SetEventObject(this);
|
||||
GetEventHandler()->ProcessEvent(nevent);
|
||||
event.Skip(!GetEventHandler()->ProcessEvent(nevent));
|
||||
}
|
||||
else if ( event.LeftUp() )
|
||||
{
|
||||
|
Reference in New Issue
Block a user