mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:20:38 +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
dd5e56cd81
commit
7b78f13b1f
2 changed files with 23 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue