]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/corefoundation/cfref.h
removed wxDCWindowImpl::m_win; use wxDCImpl::m_window instead (fixes caret-related...
[wxWidgets.git] / include / wx / mac / corefoundation / cfref.h
index fb84f0fc5c96183f39ed7c8c38ec056802e2fc11..f5251ab1c07ef335b0b7244e6ffcc0b14a503dd6 100644 (file)
 #ifndef _WX_MAC_COREFOUNDATION_CFREF_H__
 #define _WX_MAC_COREFOUNDATION_CFREF_H__
 
+// Include unistd to ensure that NULL is defined
+#include <unistd.h>
+// Include AvailabilityMacros for DEPRECATED_ATTRIBUTE
+#include <AvailabilityMacros.h>
+
 // #include <CoreFoundation/CFBase.h>
 /* Don't include CFBase.h such that this header can be included from public
  * headers with minimal namespace pollution.
  * Note that Darwin CF uses extern for CF_EXPORT.  If we need this on Win32
  * or non-Darwin Mac OS we'll need to define the appropriate __declspec.
  */
-extern "C" {
 typedef const void *CFTypeRef;
+extern "C" {
 extern /* CF_EXPORT */
 CFTypeRef CFRetain(CFTypeRef cf);
 extern /* CF_EXPORT */