]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/core/objcid.h
adding native hook for drop target
[wxWidgets.git] / include / wx / osx / core / objcid.h
1 ///////////////////////////////////////////////////////////////////////////////
2 // Name: wx/osx/core/objcid.h
3 // Purpose: Define wxObjCID working in both C++ and Objective-C.
4 // Author: Vadim Zeitlin
5 // Created: 2012-05-20
6 // RCS-ID: $Id: wxhead.h,v 1.12 2010-04-22 12:44:51 zeitlin Exp $
7 // Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
8 // Licence: wxWindows licence
9 ///////////////////////////////////////////////////////////////////////////////
10
11 #ifndef _WX_OSX_CORE_OBJCID_H_
12 #define _WX_OSX_CORE_OBJCID_H_
13
14 // ----------------------------------------------------------------------------
15 // wxObjCID: Equivalent of Objective-C "id" that works in C++ code.
16 // ----------------------------------------------------------------------------
17
18 #ifdef __OBJC__
19 #define wxObjCID id
20 #else
21 typedef struct objc_object* wxObjCID;
22 #endif
23
24 #endif // _WX_OSX_CORE_OBJCID_H_