diff --git a/systray_browser_darwin.m b/systray_browser_darwin.m index 42f04cd..ca7fa18 100644 --- a/systray_browser_darwin.m +++ b/systray_browser_darwin.m @@ -14,7 +14,7 @@ void configureAppWindow(char* title, int width, int height) NSRect frame = NSMakeRect(0, 0, width, height); int mask = NSWindowStyleMaskTitled | NSWindowStyleMaskResizable | NSWindowStyleMaskClosable; - id window = + NSWindow *window = [[NSWindow alloc] initWithContentRect:frame styleMask:mask backing:NSBackingStoreBuffered