MacOS: Fix crash in CheckEnterLeaveEvents if using WinForms too.

This commit is contained in:
kanato 2009-11-15 22:00:14 +00:00
parent 69c05cdb20
commit 1bc11bb807

View file

@ -563,6 +563,9 @@ namespace OpenTK.Platform.MacOS
private void CheckEnterLeaveEvents(IntPtr eventWindowRef, Point pt)
{
if (window == null)
return;
bool thisIn = eventWindowRef == window.WindowRef;
if (pt.Y < 0)