check for __APPLE__ instead of __WXCOCOA__

This commit is contained in:
Palana committed 2013-12-06 21:31:42 +01:00
1 parent ad1abd45e8
commit 499eaa4840
1 file changed
+2 -2
+2 -2
View File
@@ -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