SecureHandler_OnDragEvent(self, "_ondragstart", button);
SecureHandler_OnDragEvent(self, "_onreceivedrag");
SecureHandler_OnSimpleEvent(self, "_onshow");
SecureHandler_OnSimpleEvent(self, "_onhide");
SecureHandler_OnMouseUpDown(self, "_onmouseup", button);
SecureHandler_OnMouseUpDown(self, "_onmousedown", button);
SecureHandler_OnLoad(self);
self:EnableMouseWheel();
SecureHandler_OnMouseWheel(self, "_onmousewheel", delta);
if ( motion ) then
self:SetAttribute("_entered", true);
SecureHandler_OnSimpleEvent(self, "_onenter");
end
if ( motion and self:GetAttribute("_entered") ) then
self:SetAttribute("_entered", nil);
SecureHandler_OnSimpleEvent(self, "_onleave");
end