]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/ObjcRef.mm
Add wxTEST_DIALOG for testing of modal dialogs.
[wxWidgets.git] / src / cocoa / ObjcRef.mm
index ace35675002a0ca7bbc8385e6e2d3c41f1b8d4e2..5f3189bc741f7867915ab2898ef84974db807e06 100644 (file)
@@ -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];
 }