Fixed bad type check.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12975 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-03-04 19:47:21 +00:00
parent 0479bbb207
commit e9ab63395c

View file

@ -204,7 +204,7 @@ static Class eventClass;
{
NSEvent *e;
if ((type < NSMouseMoved || type > NSRightMouseDragged)
if ((type < NSLeftMosueDown || type > NSRightMouseDragged)
&& (type != NSScrollWheel))
[NSException raise: NSInvalidArgumentException
format: @"mouseEvent with wrong type"];