mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:30:37 +00:00
* Source/NSApplication.m: For hide: perform miniaturizeAll:
on Windows, since hiding the app causes it to be inaccessible on that platform. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29281 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
992f3ba8f9
commit
205498d887
2 changed files with 10 additions and 0 deletions
|
@ -2346,6 +2346,9 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
*/
|
||||
- (void) hide: (id)sender
|
||||
{
|
||||
#ifdef __MINGW32__
|
||||
[self miniaturizeAll: sender];
|
||||
#else
|
||||
if (_app_is_hidden == NO)
|
||||
{
|
||||
NSArray *windows_list;
|
||||
|
@ -2424,6 +2427,7 @@ image.</p><p>See Also: -applicationIconImage</p>
|
|||
object: [NSWorkspace sharedWorkspace]
|
||||
userInfo: info];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
/**<p>Returns whether app is currently in hidden state.</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue