summaryrefslogtreecommitdiff
path: root/plugingui/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/window.cc')
-rw-r--r--plugingui/window.cc6
1 files changed, 6 insertions, 0 deletions
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