continue with generating EVT_CONTEXT_MENU if EVT_TREE_ITEM_MENU not handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ef46ef23cb
commit
9994e2daa0
@ -2247,9 +2247,9 @@ WXLRESULT wxTreeCtrl::MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lPara
|
||||
wxTreeEvent event( wxEVT_COMMAND_TREE_ITEM_MENU, GetId() );
|
||||
event.m_item = GetSelection();
|
||||
event.SetEventObject( this );
|
||||
GetEventHandler()->ProcessEvent( event );
|
||||
|
||||
return rc;
|
||||
if ( GetEventHandler()->ProcessEvent(event) )
|
||||
return true;
|
||||
//else: continue with generating wxEVT_CONTEXT_MENU in base class code
|
||||
}
|
||||
#endif // __SMARTPHONE__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user