Replace nil with [NSDate distantFuture] in calls to nextEventMatchingMask:...dequeue:.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28025 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2009-03-02 16:26:23 +00:00
parent ef2a8fdcd6
commit 2395ea184f
11 changed files with 28 additions and 14 deletions

View file

@ -1627,7 +1627,7 @@ static inline NSRect buttonCellFrameFromRect(NSRect cellRect)
if (isMouseUp == NO)
{
e = [NSApp nextEventMatchingMask: eventMask
untilDate: nil
untilDate: [NSDate distantFuture]
inMode: NSEventTrackingRunLoopMode
dequeue: YES];