check for __APPLE__ instead of __WXCOCOA__

This commit is contained in:
Palana
2013-12-06 21:31:21 +01:00
parent ad1abd45e8
commit 499eaa4840

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