Exemple #1
0
        public override void UpdateTrackingAreas()
        {
            this.SendMessageSuper(ThisClass, "updateTrackingAreas");

            TrackerHelper.Destroy(this, iTrackingArea);
            iTrackingArea = TrackerHelper.Create(this, this.Bounds, false);
        }
Exemple #2
0
        public override void UpdateTrackingAreas()
        {
            this.SendMessageSuper(ThisClass, "updateTrackingAreas");

            // only do stuff if this button has been configured to use internal mouse
            // tracking i.e. tracking using its own NSView
            if (iTrackingArea != null)
            {
                TrackerHelper.Destroy(this, iTrackingArea);
                iTrackingArea = TrackerHelper.Create(this, this.Bounds, false);
            }
        }