Listtree.mcc: forward MUIA_ContextMenu to super class, not NListtree
commitb2252372e672ec9c974997b15535c8d150cf9ab9
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 15 Jun 2015 19:33:46 +0000 (15 19:33 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Mon, 15 Jun 2015 19:33:46 +0000 (15 19:33 +0000)
treed2e29a5e07231a02e561c3cb9964e3d33265c841
parent1c033b897f6d76831912e02cc3a276170995331e
Listtree.mcc: forward MUIA_ContextMenu to super class, not NListtree

This way if a user inherits from Listtree and overrides
MUIM_ContextMenuBuild/Choice those functions will be
called. If the attribute is forward to NListtree, the overriden
functions in Listtree will not be called, because context menu
even handler will fire on NListtree level.

Since users in their overriden functions have to use Listtree methods
(no direct data access), all the access can be proxied.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50826 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
workbench/classes/zune/listtree/listtree.c