public override void UpdateTrackingAreas() { this.SendMessageSuper(ThisClass, "updateTrackingAreas"); TrackerHelper.Destroy(this, iTrackingArea); iTrackingArea = TrackerHelper.Create(this, this.Bounds, false); }
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); } }