]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/region.h
remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function...
[wxWidgets.git] / include / wx / cocoa / region.h
index 20e7ce3d28e797492615c110d488a73f7733aa4e..2789d24e0beb38a3e85861cef259a93d4836107e 100644 (file)
 
 #include "wx/generic/region.h"
 
 
 #include "wx/generic/region.h"
 
+#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
+typedef struct CGRect NSRect;
+#else
 typedef struct _NSRect NSRect;
 typedef struct _NSRect NSRect;
+#endif
 
 class WXDLLEXPORT wxRegion : public wxRegionGeneric
 {
 
 class WXDLLEXPORT wxRegion : public wxRegionGeneric
 {