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__