mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 03:50:47 +00:00
Add the timers for NSModalPanelRunLoopMode as well.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@36187 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f520eb658d
commit
78e4d15232
4 changed files with 16 additions and 1 deletions
|
@ -27,8 +27,10 @@
|
|||
*/
|
||||
|
||||
#import <Foundation/NSAutoreleasePool.h>
|
||||
#import <Foundation/NSRunLoop.h>
|
||||
#import <Foundation/NSThread.h>
|
||||
#import <Foundation/NSTimer.h>
|
||||
#import "AppKit/NSApplication.h"
|
||||
#import "AppKit/NSProgressIndicator.h"
|
||||
#import "AppKit/NSGraphics.h"
|
||||
#import "AppKit/NSImage.h"
|
||||
|
@ -132,6 +134,7 @@
|
|||
selector: @selector(animate:)
|
||||
userInfo: nil
|
||||
repeats: YES]);
|
||||
[[NSRunLoop currentRunLoop] addTimer: _timer forMode: NSModalPanelRunLoopMode];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue