mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 10:01:14 +00:00
Quick fix for App exiting when it still has windows (on Win32)
This commit is contained in:
parent
16071b1b10
commit
ca50dfa984
1 changed files with 5 additions and 1 deletions
|
@ -4149,7 +4149,11 @@ struct _DelegateWrapper
|
|||
else if (NSInterfaceStyleForKey(@"NSMenuInterfaceStyle", nil) ==
|
||||
NSWindows95InterfaceStyle)
|
||||
{
|
||||
[self terminate: self];
|
||||
// if we have no windows open, then shut down...
|
||||
if ([self windows] == 0)
|
||||
{
|
||||
[self terminate: self];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue