You can use GuiMouseEventCtrl::onMouseDown(%this), but ObjectName::onMouseDown(%this) doesn't work at all
ie, they don't seem to inherit properly at all.
function GuiMouseEventCtrl::onMouse*(%this,%what,%ever,%else)
{
if(%this.getName() !$= "")
{
if(isFunction(%this.getName(),"onMouse*"))
{
eval(%this @ ".onMouse*(" @ %this @ "," @ %what @ "," @ %ever @ "," @ %else @ ");");
}
}
}
Copy-paste for each action (* being Down, Up, Enter, Leave, four copies)
I'm using that and it works fine (even though I'm only using %this and no other arguments)