Use setNeedsDisplay: since I think display: should only be called from the GUI thread.

This commit is contained in:
Steve Checkoway
2005-10-30 08:38:03 +00:00
parent 962652291d
commit 5ff545cbf2
@@ -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];
}