Remove previous change

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4385 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1999-06-10 03:05:11 +00:00
parent e3c716678d
commit df72c2d544
4 changed files with 1 additions and 24 deletions

View file

@ -658,14 +658,13 @@ static Class responderClass;
screenPoint.x = frame.origin.x + basePoint.x;
screenPoint.y = frame.origin.y + basePoint.y;
return [GSCurrentContext() convertBaseToScreen: screenPoint];
return screenPoint;
}
- (NSPoint) convertScreenToBase: (NSPoint)screenPoint
{
NSPoint basePoint;
screenPoint = [GSCurrentContext() convertScreenToBase: screenPoint];
basePoint.x = screenPoint.x - frame.origin.x;
basePoint.y = screenPoint.y - frame.origin.y;