mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-05 01:20:59 +00:00
Source/NSView.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3cd8d5d585
commit
820e60b5bd
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-08-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||||
|
|
||||||
|
* Source/NSView.m ([NSView -replaceSubview:withSubview]):
|
||||||
|
The replacing subview was not inserted at the old subview's location.
|
||||||
|
|
||||||
2002-08-02 Adam Fedor <fedor@gnu.org>
|
2002-08-02 Adam Fedor <fedor@gnu.org>
|
||||||
|
|
||||||
* Merge changes from 0.8.0 into main branch.
|
* Merge changes from 0.8.0 into main branch.
|
||||||
|
|
|
@ -595,7 +595,8 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[newView viewWillMoveToWindow: _window];
|
[newView viewWillMoveToWindow: _window];
|
||||||
[newView viewWillMoveToSuperview: self];
|
[newView viewWillMoveToSuperview: self];
|
||||||
[newView setNextResponder: self];
|
[newView setNextResponder: self];
|
||||||
[_sub_views addObject: newView];
|
[_sub_views insertObject: newView
|
||||||
|
atIndex: index];
|
||||||
_rFlags.has_subviews = 1;
|
_rFlags.has_subviews = 1;
|
||||||
[newView resetCursorRects];
|
[newView resetCursorRects];
|
||||||
[newView setNeedsDisplay: YES];
|
[newView setNeedsDisplay: YES];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue