mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Implemented viewDidMoveToWindow:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21675 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f12e95ec66
commit
bf2bd2d0a3
2 changed files with 23 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-08-25 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSView.m: ([viewDidMoveToWindow:]) Implemented to send to
|
||||
subviews as it should.
|
||||
|
||||
2005-08-22 14:36 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSInterfaceStyle.m: -[GSInterfaceStyle
|
||||
|
|
|
@ -796,7 +796,24 @@ GSSetDragTypes(NSView* obj, NSArray *types)
|
|||
{}
|
||||
|
||||
- (void) viewDidMoveToWindow
|
||||
{}
|
||||
{
|
||||
if (_rFlags.has_subviews)
|
||||
{
|
||||
unsigned count = [_sub_views count];
|
||||
|
||||
if (count > 0)
|
||||
{
|
||||
unsigned i;
|
||||
NSView *array[count];
|
||||
|
||||
[_sub_views getObjects: array];
|
||||
for (i = 0; i < count; ++i)
|
||||
{
|
||||
[array[i] viewDidMoveToWindow: newWindow];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
- (void) willRemoveSubview: (NSView *)subview
|
||||
{}
|
||||
|
|
Loading…
Reference in a new issue