* 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:
Gregory John Casamento 2010-01-14 12:06:35 +00:00
parent 992f3ba8f9
commit 205498d887
2 changed files with 10 additions and 0 deletions

View file

@ -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>