screw tabs

pull/51/head
Nikolay Kasyanov 12 years ago
parent e552eccaa4
commit 98216544de

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

Loading…
Cancel
Save