]> git.saurik.com Git - wxWidgets.git/commitdiff
proper init
authorStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Jun 2012 17:38:28 +0000 (17:38 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Wed, 13 Jun 2012 17:38:28 +0000 (17:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/cocoa/textctrl.mm

index d4304cb73500c5ff53fbc6e23a7c082099164db5..c75aad1a69ebb5791929b3faa29df6d6c845a365 100644 (file)
@@ -119,7 +119,7 @@ NSView* wxMacEditHelper::ms_viewCurrentlyEdited = nil;
 
 - (id)init 
 {
-    [super init];
+    self = [super init];
     maxLength = 0;
     return self;
 }