]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/nonownedwnd.mm
Update documentation about custom schemes and virtual file systems.
[wxWidgets.git] / src / osx / cocoa / nonownedwnd.mm
index 8a93d55f92fb8b69dfa1965b1b41a702963d228b..29e42db1650f37b106b984769485f7bfb6c4577e 100644 (file)
@@ -271,7 +271,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
 
 - (id) init
 {
-    [super init];
+    self = [super init];
     return self;
 }
 
@@ -452,6 +452,7 @@ extern int wxOSXGetIdFromSelector(SEL action );
             editor = [[wxNSTextFieldEditor alloc] init];
             [editor setFieldEditor:YES];
             [tf setFieldEditor:editor];
+            [editor release];
         }
         return editor;
     }