Tweaks for subclassing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20998 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2005-03-29 10:08:50 +00:00
parent a3394a27e2
commit f83a371d2f
3 changed files with 11 additions and 4 deletions

View file

@ -234,6 +234,7 @@ static GSDragView *sharedDragView = nil;
slideBack: (BOOL)slideFlag
{
NSPoint eventPoint;
ASSIGN(dragPasteboard, pboard);
ASSIGN(dragSource, sourceObject);
dragSequence = [event timestamp];
@ -274,7 +275,7 @@ static GSDragView *sharedDragView = nil;
* Convert point from coordinates of image to coordinates of mouse
* cursor for internal use.
*/
point.y += offset.height;
point.x += offset.width;
point.y += offset.height;
[self _slideDraggedImageTo: point
numberOfSteps: SLIDE_NR_OF_STEPS