mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 20:16:28 +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
4beeb68e65
commit
19e0fc3d15
8 changed files with 61 additions and 32 deletions
|
@ -70,11 +70,11 @@ static Class viewClass;
|
|||
|
||||
static NSAffineTransform *flip = nil;
|
||||
|
||||
static void (*appImp)(NSAffineTransform*, SEL, NSAffineTransform*) = 0;
|
||||
static SEL appSel = @selector(appendTransform:);
|
||||
static SEL appSel;
|
||||
static SEL invalidateSel;
|
||||
|
||||
static void (*invalidateImp)(NSView*, SEL) = 0;
|
||||
static SEL invalidateSel = @selector(_invalidateCoordinates);
|
||||
static void (*appImp)(NSAffineTransform*, SEL, NSAffineTransform*);
|
||||
static void (*invalidateImp)(NSView*, SEL);
|
||||
|
||||
/*
|
||||
* Stuff to maintain a map table so we know what views are
|
||||
|
@ -156,6 +156,9 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
|||
NSObjectMapValueCallBacks, 0);
|
||||
typesLock = [NSLock new];
|
||||
|
||||
appSel = @selector(appendTransform:);
|
||||
invalidateSel = @selector(_invalidateCoordinates);
|
||||
|
||||
appImp = (void (*)(NSAffineTransform*, SEL, NSAffineTransform*))
|
||||
[matrixClass instanceMethodForSelector: appSel];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue