]>
Commit | Line | Data |
---|---|---|
d92f48bd | 1 | /////////////////////////////////////////////////////////////////////////////// |
fcb9299b | 2 | // Name: wx/osx/core/objcid.h |
d92f48bd VZ |
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 | ||
fcb9299b VZ |
11 | #ifndef _WX_OSX_CORE_OBJCID_H_ |
12 | #define _WX_OSX_CORE_OBJCID_H_ | |
d92f48bd VZ |
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 | ||
fcb9299b | 24 | #endif // _WX_OSX_CORE_OBJCID_H_ |