Source/AIHoveringPopUpButton.m
branchadium-1.5.11
changeset 6016 325e2ab3406f
parent 3679 f4294bb53b0f
equal deleted inserted replaced
6014:fcb71cb71a3d 6016:325e2ab3406f
   271 									   fromView:nil];
   271 									   fromView:nil];
   272 		BOOL	mouseInside = NSPointInRect(localPoint, trackRect);
   272 		BOOL	mouseInside = NSPointInRect(localPoint, trackRect);
   273 
   273 
   274 		trackingTag = [self addTrackingRect:trackRect owner:self userData:nil assumeInside:mouseInside];
   274 		trackingTag = [self addTrackingRect:trackRect owner:self userData:nil assumeInside:mouseInside];
   275 		if (mouseInside) {
   275 		if (mouseInside) {
   276 			[self mouseEntered:nil];
   276 			[self mouseEntered:[[[NSEvent alloc] init] autorelease]];
   277 		} else {
   277 		} else {
   278 			[self mouseExited:nil];			
   278 			[self mouseExited:[[[NSEvent alloc] init] autorelease]];
   279 		}
   279 		}
   280 	}
   280 	}
   281 }
   281 }
   282 
   282 
   283 //Cursor entered our view
   283 //Cursor entered our view