mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 01:50:48 +00:00
Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2612cc04bd
commit
00418ee526
8 changed files with 61 additions and 32 deletions
|
@ -391,8 +391,8 @@ typedef struct NSView_struct
|
|||
/*
|
||||
* Class variables
|
||||
*/
|
||||
static SEL ccSel = @selector(_checkCursorRectangles:forEvent:);
|
||||
static SEL ctSel = @selector(_checkTrackingRectangles:forEvent:);
|
||||
static SEL ccSel;
|
||||
static SEL ctSel;
|
||||
static IMP ccImp;
|
||||
static IMP ctImp;
|
||||
static Class responderClass;
|
||||
|
@ -410,6 +410,8 @@ static NSMapTable* windowmaps = NULL;
|
|||
{
|
||||
NSDebugLog(@"Initialize NSWindow class\n");
|
||||
[self setVersion: 2];
|
||||
ccSel = @selector(_checkCursorRectangles:forEvent:);
|
||||
ctSel = @selector(_checkTrackingRectangles:forEvent:);
|
||||
ccImp = [self instanceMethodForSelector: ccSel];
|
||||
ctImp = [self instanceMethodForSelector: ctSel];
|
||||
responderClass = [NSResponder class];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue