X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8114de44a45d992e45912818307d8b1a5004ba..35c63208f04930176aa34ec1fcabc4f3c19804b9:/src/cocoa/ObjcRef.mm?ds=inline diff --git a/src/cocoa/ObjcRef.mm b/src/cocoa/ObjcRef.mm index ace3567500..b2109129af 100644 --- a/src/cocoa/ObjcRef.mm +++ b/src/cocoa/ObjcRef.mm @@ -6,7 +6,7 @@ // Created: 2004/03/28 // RCS-ID: $Id$ // Copyright: (c) 2004 David Elliott -// Licence: wxWindows licence +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/cocoa/ObjcRef.h" @@ -18,8 +18,8 @@ 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]; }