X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fa8114de44a45d992e45912818307d8b1a5004ba..14a6b6e5f0200192944ed3d35ef4a3ce4549ac70:/src/cocoa/ObjcRef.mm?ds=sidebyside

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 <dfe@cox.net>
-// 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];
 }