From 499eaa4840290b97f141a86dcf809434eeccfc45 Mon Sep 17 00:00:00 2001 From: Palana Date: Fri, 6 Dec 2013 21:31:21 +0100 Subject: [PATCH] check for __APPLE__ instead of __WXCOCOA__ --- obs/wx-wrappers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obs/wx-wrappers.cpp b/obs/wx-wrappers.cpp index 15806f3c1..2d5d7757f 100644 --- a/obs/wx-wrappers.cpp +++ b/obs/wx-wrappers.cpp @@ -22,8 +22,8 @@ gs_window WxToGSWindow(const wxWindow *wxwin) { gs_window window; -#ifdef __WXCOCOA__ - window.view = wxwin->GetHandle(); +#ifdef __APPLE__ + window.view = (id)wxwin->GetHandle(); #elif _WIN32 window.hwnd = wxwin->GetHandle(); #else