]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/ObjcRef.mm
regen bakefiles - get rid of explicit size setting after ctor
[wxWidgets.git] / src / cocoa / ObjcRef.mm
index ace35675002a0ca7bbc8385e6e2d3c41f1b8d4e2..b2109129af6d34733d9b22d5cacc51791367eb28 100644 (file)
@@ -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];
 }