OSX PowerPC - gets it compiling and linking again but doesn't work -

left a TODO/FIXME for aussiebloke
This commit is contained in:
neville 2018-08-30 17:45:22 +02:00
parent 7f7f23d08b
commit f16ec700a9

View File

@ -346,12 +346,14 @@ static char** waiting_argv;
}
_renderView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
_renderView.frame = self.window.contentView.bounds;
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
_renderView.frame = self.window.contentView.bounds;
self.window.contentView = _renderView;
[self.window.contentView setNextResponder:_listener];
#else
/* TODO/FIXME - Aussiebloke - we need a workaround for OSX 10.5 for self.window.contentView.bounds -
* error - request for member 'bounds' in something not a structure or union. */
[self.window.contentView addSubview:_renderView];
[self.window makeFirstResponder:_renderView];
#endif