Browse Source

check for __APPLE__ instead of __WXCOCOA__

Palana 12 years ago
parent
commit
499eaa4840
1 changed files with 2 additions and 2 deletions
  1. 2 2
      obs/wx-wrappers.cpp

+ 2 - 2
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