///////////////////////////////////////////////////////////////////////////// // Name: cocoa/ObjcRef.mm // Purpose: wxObjcAutoRefBase implementation // Author: David Elliott // Modified by: // Created: 2004/03/28 // RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott // Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/cocoa/ObjcRef.h" #include /*static*/ struct objc_object* wxObjcAutoRefBase::ObjcRetain(struct objc_object* obj) { return [obj retain]; } /*static*/ void wxObjcAutoRefBase::ObjcRelease(struct objc_object* obj) { [obj release]; }