mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 23:30:42 +00:00
Bugfixes for removing view from view and for ordring windos in.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12392 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
af4b9aae11
commit
2e3b8aeadf
3 changed files with 12 additions and 1 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2002-02-03 Fred Kiefer <FredKiefer@gmx.de>, Richard <rfm@gnu.org>
|
||||||
|
|
||||||
|
* Source/NSView.m: ([removeSubview:]) call ([setNeedsDisplay:NO]) in
|
||||||
|
the subview so that, if subsequently added to another view, and marked
|
||||||
|
for display, the area needing display will be updated to parent views
|
||||||
|
correctly.
|
||||||
|
* Source/NSWindow.m: ([orderWindow:relativeTo:]) fix to restart
|
||||||
|
automatic update events correctly when a window which was ordered
|
||||||
|
out is ordered back in again.
|
||||||
|
|
||||||
2002-02-02 Fred Kiefer <FredKiefer@gmx.de>
|
2002-02-02 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSImage.m
|
* Source/NSImage.m
|
||||||
|
|
|
@ -506,6 +506,7 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
||||||
[aSubview setNextResponder: nil];
|
[aSubview setNextResponder: nil];
|
||||||
RETAIN(aSubview);
|
RETAIN(aSubview);
|
||||||
[_sub_views removeObjectIdenticalTo: aSubview];
|
[_sub_views removeObjectIdenticalTo: aSubview];
|
||||||
|
[aSubview setNeedsDisplay: NO];
|
||||||
[aSubview viewDidMoveToWindow];
|
[aSubview viewDidMoveToWindow];
|
||||||
[aSubview viewDidMoveToSuperview];
|
[aSubview viewDidMoveToSuperview];
|
||||||
RELEASE(aSubview);
|
RELEASE(aSubview);
|
||||||
|
|
|
@ -1313,7 +1313,7 @@ static NSNotificationCenter *nc = nil;
|
||||||
|
|
||||||
if (place != NSWindowOut)
|
if (place != NSWindowOut)
|
||||||
{
|
{
|
||||||
if (_rFlags.needs_display == NO)
|
if (_rFlags.needs_display == YES)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Once we are ordered back in, we will want to update the window
|
* Once we are ordered back in, we will want to update the window
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue