Maybe fix that bug by using the system font. I cannot think of a reason that it did not work before other than the font defaulted to something that could not display the string "Initializing Hardware..."
This commit is contained in:
@@ -34,7 +34,9 @@ void MakeNewCocoaWindow() {
|
|||||||
view = [window contentView];
|
view = [window contentView];
|
||||||
[view addSubview:text]; /* This retains text */
|
[view addSubview:text]; /* This retains text */
|
||||||
[view addSubview:iView]; /* This retains iView */
|
[view addSubview:iView]; /* This retains iView */
|
||||||
|
[text setFont:[NSFont systemFontOfSize:12]];
|
||||||
[text setString:@"Initializing Hardware..."];
|
[text setString:@"Initializing Hardware..."];
|
||||||
|
[text display];
|
||||||
|
|
||||||
[window makeKeyAndOrderFront:nil];
|
[window makeKeyAndOrderFront:nil];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user