* 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:
gcasa 2010-01-14 12:06:35 +00:00
parent 2f3f77f8bd
commit c36c29e8ff
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2010-01-14 07:08-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSApplication.m: For hide: perform miniaturizeAll:
on Windows, since hiding the app causes it to be inaccessible on
that platform.
2010-01-14 04:07-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSToolbarFrameworkPrivate.h: Correct include for new

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>