mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:50:38 +00:00
First set of changes based on pathces by Josh Freeman
<pikopixel@twilightedge.com> git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@39004 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ff61d4c642
commit
1d2c5d5ebd
10 changed files with 84 additions and 25 deletions
|
@ -2017,6 +2017,9 @@ See -runModalForWindow:
|
|||
[sheet setParentWindow: docWindow];
|
||||
[docWindow setAttachedSheet: sheet];
|
||||
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
postNotificationName: NSWindowWillBeginSheetNotification
|
||||
object: docWindow];
|
||||
ret = [self runModalForWindow: sheet
|
||||
relativeToWindow: docWindow];
|
||||
|
||||
|
@ -2031,6 +2034,9 @@ See -runModalForWindow:
|
|||
|
||||
[docWindow setAttachedSheet: nil];
|
||||
[sheet setParentWindow: nil];
|
||||
[[NSNotificationCenter defaultCenter]
|
||||
postNotificationName: NSWindowDidEndSheetNotification
|
||||
object: docWindow];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue