mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 07:00:37 +00:00
gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3260 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5310a8bfac
commit
d093540668
14 changed files with 784 additions and 1052 deletions
|
@ -56,6 +56,9 @@
|
|||
|
||||
#include <AppKit/IMLoading.h>
|
||||
|
||||
#define CONVEY(a, b) [b retain]; \
|
||||
[a release]; \
|
||||
a = b;
|
||||
//
|
||||
// Class variables
|
||||
//
|
||||
|
@ -550,7 +553,7 @@ BOOL match = NO; // which matches mask
|
|||
[event retain];
|
||||
[event_queue removeObjectAtIndex:i];
|
||||
}
|
||||
ASSIGN(current_event, event);
|
||||
CONVEY(current_event, event);
|
||||
|
||||
return event; // return an event from
|
||||
} // the queue which
|
||||
|
@ -1174,7 +1177,7 @@ BOOL result = YES;
|
|||
|
||||
+ (void)setNullEvent:(NSEvent *)e
|
||||
{
|
||||
ASSIGN(null_event, e);
|
||||
CONVEY(null_event, e);
|
||||
}
|
||||
|
||||
+ (NSEvent *)getNullEvent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue