Use setNeedsDisplay: since I think display: should only be called from the GUI thread.
This commit is contained in:
@@ -65,7 +65,7 @@ void SetCocoaWindowText(const char *s)
|
||||
NSString *str = [NSString stringWithUTF8String:s];
|
||||
|
||||
[text setString:( str ? str : @"" )];
|
||||
[text display];
|
||||
[text setNeedsDisplay:YES];
|
||||
[pool release];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user