git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26748
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
protected:
static struct objc_object* ObjcRetain(struct objc_object*);
- static struct objc_object* ObjcRelease(struct objc_object*);
+ static void ObjcRelease(struct objc_object*);
};
// T should be a pointer like NSObject*
return [obj retain];
}
-/*static*/ struct objc_object* wxObjcAutoRefBase::ObjcRelease(struct objc_object* obj)
+/*static*/ void wxObjcAutoRefBase::ObjcRelease(struct objc_object* obj)
{
- return [obj release];
+ [obj release];
}