]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/ObjcRef.mm
Fix recreating of wxBitmapComboBox using untyped client data.
[wxWidgets.git] / src / cocoa / ObjcRef.mm
index ace35675002a0ca7bbc8385e6e2d3c41f1b8d4e2..0d0815b2ebd512fa3854890c2a4c10b1b1499967 100644 (file)
@@ -1,10 +1,9 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        cocoa/ObjcRef.mm
+// Name:        src/cocoa/ObjcRef.mm
 // Purpose:     wxObjcAutoRefBase implementation
 // Author:      David Elliott
 // Modified by: 
 // Created:     2004/03/28
-// RCS-ID:      $Id$
 // Copyright:   (c) 2004 David Elliott <dfe@cox.net>
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -18,8 +17,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];
 }