mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:50:48 +00:00
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:
parent
d3ab3f6c6c
commit
ced8958a2a
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ static Class eventClass;
|
||||||
{
|
{
|
||||||
NSEvent *e;
|
NSEvent *e;
|
||||||
|
|
||||||
if ((type < NSMouseMoved || type > NSRightMouseDragged)
|
if ((type < NSLeftMosueDown || type > NSRightMouseDragged)
|
||||||
&& (type != NSScrollWheel))
|
&& (type != NSScrollWheel))
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"mouseEvent with wrong type"];
|
format: @"mouseEvent with wrong type"];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue