mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-05 03:46:58 -04:00
check for __APPLE__ instead of __WXCOCOA__
This commit is contained in:
1 parent
ad1abd45e8
commit
499eaa4840
1 file changed
+2
-2
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user