From 21a5cd6d814a913df4cd17b12a7feb5397d65179 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 4 Dec 2016 19:25:17 +0100 Subject: Cocoa for the masses. --- plugingui/window.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugingui/window.cc') diff --git a/plugingui/window.cc b/plugingui/window.cc index f8232ad..5d929b2 100644 --- a/plugingui/window.cc +++ b/plugingui/window.cc @@ -35,6 +35,9 @@ #ifdef WIN32 #include "nativewindow_win32.h" #endif/*WIN32*/ +#ifdef COCOA +#include "nativewindow_cocoa.h" +#endif/*COCOA*/ #else #include "nativewindow_pugl.h" #endif @@ -56,6 +59,9 @@ Window::Window(void* native_window) #ifdef WIN32 native = new NativeWindowWin32(native_window, *this); #endif/*WIN32*/ +#ifdef COCOA + native = new NativeWindowCocoa(native_window, *this); +#endif/*COCOA*/ #else/*Use pugl*/ native = new NativeWindowPugl(native_window, *this); #endif -- cgit v1.2.3