File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -346,12 +346,14 @@ - (void)setViewType:(apple_view_type_t)vt {
346346 }
347347
348348 _renderView.autoresizingMask = NSViewWidthSizable | NSViewHeightSizable;
349- _renderView.frame = self.window .contentView .bounds ;
350349
351350#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
351+ _renderView.frame = self.window .contentView .bounds ;
352352 self.window .contentView = _renderView;
353353 [self .window.contentView setNextResponder: _listener];
354354#else
355+ /* TODO/FIXME - Aussiebloke - we need a workaround for OSX 10.5 for self.window.contentView.bounds -
356+ * error - request for member 'bounds' in something not a structure or union. */
355357 [self .window.contentView addSubview: _renderView];
356358 [self .window makeFirstResponder: _renderView];
357359#endif
You can’t perform that action at this time.
0 commit comments