]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/ObjcRef.mm
adding new files for xti merge
[wxWidgets.git] / src / cocoa / ObjcRef.mm
index ace35675002a0ca7bbc8385e6e2d3c41f1b8d4e2..6bff7b69c990663e5f8fd82fb392eadaeabeafb0 100644 (file)
@@ -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];
 }