X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8114de44a45d992e45912818307d8b1a5004ba..63af79dee17ffec92c394e027ed5c6dcbef9efdf:/src/cocoa/ObjcRef.mm diff --git a/src/cocoa/ObjcRef.mm b/src/cocoa/ObjcRef.mm index ace3567500..5f3189bc74 100644 --- a/src/cocoa/ObjcRef.mm +++ b/src/cocoa/ObjcRef.mm @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: cocoa/ObjcRef.mm +// Name: src/cocoa/ObjcRef.mm // Purpose: wxObjcAutoRefBase implementation // Author: David Elliott // Modified by: @@ -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]; }