]> git.saurik.com Git - wxWidgets.git/blame - src/cocoa/ObjcRef.mm
Fix wxHtmlHelpData::SetTempDir() to behave correctly without trailing slash.
[wxWidgets.git] / src / cocoa / ObjcRef.mm
CommitLineData
fa8114de 1/////////////////////////////////////////////////////////////////////////////
80fdcdb9 2// Name: src/cocoa/ObjcRef.mm
fa8114de
DE
3// Purpose: wxObjcAutoRefBase implementation
4// Author: David Elliott
5// Modified by:
6// Created: 2004/03/28
fa8114de 7// Copyright: (c) 2004 David Elliott <dfe@cox.net>
526954c5 8// Licence: wxWindows licence
fa8114de
DE
9/////////////////////////////////////////////////////////////////////////////
10
11#include "wx/cocoa/ObjcRef.h"
12
13#include <Foundation/NSObject.h>
14
15/*static*/ struct objc_object* wxObjcAutoRefBase::ObjcRetain(struct objc_object* obj)
16{
17 return [obj retain];
18}
19
e76d459d 20/*static*/ void wxObjcAutoRefBase::ObjcRelease(struct objc_object* obj)
fa8114de 21{
e76d459d 22 [obj release];
fa8114de
DE
23}
24