mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:00:37 +00:00
Access superclass ivars directly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4786 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
33c1be1a1f
commit
738bb09559
15 changed files with 87 additions and 73 deletions
|
@ -451,7 +451,7 @@
|
|||
{
|
||||
NSPoint cP;
|
||||
|
||||
cP = [[self window] convertBaseToScreen: [theEvent locationInWindow]];
|
||||
cP = [window convertBaseToScreen: [theEvent locationInWindow]];
|
||||
cP = [popb_win convertScreenToBase: cP];
|
||||
|
||||
//NSLog(@"location x = %d, y = %d\n", (int)cP.x, (int)cP.y);
|
||||
|
@ -475,7 +475,7 @@
|
|||
{
|
||||
// First check ourselves
|
||||
// if ([self mouse:aPoint inRect:bounds]) return self;
|
||||
if ([self mouse:aPoint inRect:[self frame]]) return self;
|
||||
if ([self mouse:aPoint inRect:frame]) return self;
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue