From a84ad28ab7e0e3730264ea0eab3a38c8683744cb Mon Sep 17 00:00:00 2001 From: CaS Date: Mon, 4 Mar 2002 19:48:48 +0000 Subject: [PATCH] Fix typo git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12976 72102866-910b-0410-8b05-ffd578937521 --- Source/NSEvent.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/NSEvent.m b/Source/NSEvent.m index e2750d803..7f0d2059f 100644 --- a/Source/NSEvent.m +++ b/Source/NSEvent.m @@ -204,7 +204,7 @@ static Class eventClass; { NSEvent *e; - if ((type < NSLeftMosueDown || type > NSRightMouseDragged) + if ((type < NSLeftMouseDown || type > NSRightMouseDragged) && (type != NSScrollWheel)) [NSException raise: NSInvalidArgumentException format: @"mouseEvent with wrong type"];