mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:01:16 +00:00
Document system change to NSWindow, GC update for NSWindowController
New method implemented in NSWorkspace git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6434 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5e57d2f303
commit
8344d89c2a
4 changed files with 241 additions and 139 deletions
|
@ -1780,6 +1780,18 @@ resetCursorRectsForView(NSView *theView)
|
|||
return;
|
||||
}
|
||||
|
||||
if (_windowController)
|
||||
{
|
||||
NSDocument *document = [_windowController document];
|
||||
|
||||
if (document && (document != _delegate)
|
||||
&& [document respondsToSelector: @selector(windowShouldClose:)]
|
||||
&& ![document windowShouldClose: self])
|
||||
{
|
||||
NSBeep();
|
||||
return;
|
||||
}
|
||||
}
|
||||
if ([_delegate respondsToSelector: @selector(windowShouldClose:)])
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue