Include a window's decoration view in its responder chain so that

dynamic target look up works for toolbar items.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27628 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2009-01-18 15:52:06 +00:00
parent 7210cb4bb4
commit f3a278659e
2 changed files with 5 additions and 2 deletions

View file

@ -1008,6 +1008,7 @@ many times.
_wv = [windowDecorator newWindowDecorationViewWithFrame: cframe
window: self];
[_wv _viewWillMoveToWindow: self];
[_wv setNextResponder: self];
/* Create the content view */
cframe.origin = NSZeroPoint;
@ -1119,8 +1120,6 @@ many times.
_contentView = aView;
[_wv setContentView: _contentView];
[_contentView setNextResponder: self];
}
/*