]> git.saurik.com Git - wxWidgets.git/blob - include/wx/osx/core/objcid.h
Expose the Apple menu so it can be setup manually.
[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 // Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
7 // Licence: wxWindows licence
8 ///////////////////////////////////////////////////////////////////////////////
9
10 #ifndef _WX_OSX_CORE_OBJCID_H_
11 #define _WX_OSX_CORE_OBJCID_H_
12
13 // ----------------------------------------------------------------------------
14 // wxObjCID: Equivalent of Objective-C "id" that works in C++ code.
15 // ----------------------------------------------------------------------------
16
17 #ifdef __OBJC__
18 #define wxObjCID id
19 #else
20 typedef struct objc_object* wxObjCID;
21 #endif
22
23 #endif // _WX_OSX_CORE_OBJCID_H_