2012-05-20 16:29:50 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2012-05-26 08:29:39 -04:00
|
|
|
// Name: wx/osx/core/objcid.h
|
2012-05-20 16:29:50 -04:00
|
|
|
// Purpose: Define wxObjCID working in both C++ and Objective-C.
|
|
|
|
// Author: Vadim Zeitlin
|
|
|
|
// Created: 2012-05-20
|
|
|
|
// Copyright: (c) 2012 Vadim Zeitlin <vadim@wxwidgets.org>
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2012-05-26 08:29:39 -04:00
|
|
|
#ifndef _WX_OSX_CORE_OBJCID_H_
|
|
|
|
#define _WX_OSX_CORE_OBJCID_H_
|
2012-05-20 16:29:50 -04:00
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
// wxObjCID: Equivalent of Objective-C "id" that works in C++ code.
|
|
|
|
// ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifdef __OBJC__
|
|
|
|
#define wxObjCID id
|
|
|
|
#else
|
|
|
|
typedef struct objc_object* wxObjCID;
|
|
|
|
#endif
|
|
|
|
|
2012-05-26 08:29:39 -04:00
|
|
|
#endif // _WX_OSX_CORE_OBJCID_H_
|