]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/cocoa/NSView.h
check for wxUSE_TIMER in headers, not the files including them
[wxWidgets.git] / include / wx / cocoa / NSView.h
index e59dfdbbd2b9596b02bf1e9d4fe428ee474b77ca..39e64fe5290791e956d2b1d9abafed1b769f8284 100644 (file)
 #include "wx/hashmap.h"
 #include "wx/cocoa/ObjcAssociate.h"
 
+#if defined(__LP64__) || defined(NS_BUILD_32_LIKE_64)
+typedef struct CGRect NSRect;
+#else
 typedef struct _NSRect NSRect;
+#endif
+
 class wxWindow;
 
 WX_DECLARE_OBJC_HASHMAP(NSView);