mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 19:00:47 +00:00
Fix error in last mod
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5359 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f8d468cd61
commit
5488d355c2
1 changed files with 5 additions and 5 deletions
|
@ -271,8 +271,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[sub_views addObject: aView];
|
[sub_views addObject: aView];
|
||||||
_rFlags.has_subviews = 1;
|
_rFlags.has_subviews = 1;
|
||||||
[aView resetCursorRects];
|
[aView resetCursorRects];
|
||||||
|
[aView setNeedsDisplay: YES];
|
||||||
RELEASE(aView);
|
RELEASE(aView);
|
||||||
[self setNeedsDisplayInRect: [aView frame]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) addSubview: (NSView*)aView
|
- (void) addSubview: (NSView*)aView
|
||||||
|
@ -310,8 +310,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[sub_views insertObject: aView atIndex: index+1];
|
[sub_views insertObject: aView atIndex: index+1];
|
||||||
_rFlags.has_subviews = 1;
|
_rFlags.has_subviews = 1;
|
||||||
[aView resetCursorRects];
|
[aView resetCursorRects];
|
||||||
|
[aView setNeedsDisplay: YES];
|
||||||
RELEASE(aView);
|
RELEASE(aView);
|
||||||
[self setNeedsDisplayInRect: [aView frame]];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSView*) ancestorSharedWithView: (NSView*)aView
|
- (NSView*) ancestorSharedWithView: (NSView*)aView
|
||||||
|
@ -423,13 +423,13 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
{
|
{
|
||||||
[window makeFirstResponder: window];
|
[window makeFirstResponder: window];
|
||||||
}
|
}
|
||||||
|
[super_view setNeedsDisplayInRect: [self frame]];
|
||||||
RETAIN(self);
|
RETAIN(self);
|
||||||
[super_view->sub_views removeObjectIdenticalTo: self];
|
[super_view->sub_views removeObjectIdenticalTo: self];
|
||||||
if ([super_view->sub_views count] == 0)
|
if ([super_view->sub_views count] == 0)
|
||||||
{
|
{
|
||||||
super_view->_rFlags.has_subviews = 0;
|
super_view->_rFlags.has_subviews = 0;
|
||||||
}
|
}
|
||||||
[super_view setNeedsDisplayInRect: [self frame]];
|
|
||||||
super_view = nil;
|
super_view = nil;
|
||||||
[self viewWillMoveToWindow: nil];
|
[self viewWillMoveToWindow: nil];
|
||||||
RELEASE(self);
|
RELEASE(self);
|
||||||
|
@ -460,8 +460,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[sub_views addObject: newView];
|
[sub_views addObject: newView];
|
||||||
_rFlags.has_subviews = 1;
|
_rFlags.has_subviews = 1;
|
||||||
[newView resetCursorRects];
|
[newView resetCursorRects];
|
||||||
|
[newView setNeedsDisplay: YES];
|
||||||
RELEASE(newView);
|
RELEASE(newView);
|
||||||
[self setNeedsDisplayInRect: [newView frame]];
|
|
||||||
}
|
}
|
||||||
else if ([sub_views indexOfObjectIdenticalTo: oldView] != NSNotFound)
|
else if ([sub_views indexOfObjectIdenticalTo: oldView] != NSNotFound)
|
||||||
{
|
{
|
||||||
|
@ -494,8 +494,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[sub_views addObject: newView];
|
[sub_views addObject: newView];
|
||||||
_rFlags.has_subviews = 1;
|
_rFlags.has_subviews = 1;
|
||||||
[newView resetCursorRects];
|
[newView resetCursorRects];
|
||||||
|
[newView setNeedsDisplay: YES];
|
||||||
RELEASE(newView);
|
RELEASE(newView);
|
||||||
[self setNeedsDisplayInRect: [newView frame]];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue