(Apple) get rid of superfluous ifdef
This commit is contained in:
parent
f4ecb4151b
commit
6af5ea2d59
|
@ -150,9 +150,7 @@ static char** waiting_argv;
|
||||||
|
|
||||||
[[RAGameView get] setFrame: [[self.window contentView] bounds]];
|
[[RAGameView get] setFrame: [[self.window contentView] bounds]];
|
||||||
[[self.window contentView] setAutoresizesSubviews:YES];
|
[[self.window contentView] setAutoresizesSubviews:YES];
|
||||||
#if defined(IOS) || defined(MAC_OS_X_VERSION_10_5)
|
|
||||||
[[self.window contentView] addSubview:[RAGameView get]];
|
[[self.window contentView] addSubview:[RAGameView get]];
|
||||||
#endif
|
|
||||||
[self.window makeFirstResponder:[RAGameView get]];
|
[self.window makeFirstResponder:[RAGameView get]];
|
||||||
|
|
||||||
self.settingsWindow = [[[NSWindowController alloc] initWithWindowNibName:BOXSTRING("Settings")] autorelease];
|
self.settingsWindow = [[[NSWindowController alloc] initWithWindowNibName:BOXSTRING("Settings")] autorelease];
|
||||||
|
|
Loading…
Reference in New Issue