mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30:38 +00:00
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:
parent
7210cb4bb4
commit
f3a278659e
2 changed files with 5 additions and 2 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue