X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8114de44a45d992e45912818307d8b1a5004ba..c765e6fb9df639bb4e65a8824ed13a42f457027b:/src/cocoa/ObjcRef.mm 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]; }