1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-13 21:40:11 +00:00

screw tabs

This commit is contained in:
Nikolay Kasyanov 2013-08-01 10:52:50 +04:00
parent e552eccaa4
commit 98216544de
2 changed files with 59 additions and 58 deletions

View File

@ -1,13 +1,14 @@
#include "osx_utils.h"
#import <AppKit/NSWindow.h>
namespace SFO {
unsigned long WindowContentViewHandle(SDL_SysWMinfo &info)
{
NSWindow *window = info.info.cocoa.window;
NSView *view = [window contentView];
return (unsigned long)view;
}