]> git.saurik.com Git - wxWidgets.git/commitdiff
adjust init to standard
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 16 Aug 2011 12:17:59 +0000 (12:17 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 16 Aug 2011 12:17:59 +0000 (12:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlctrl/webkit/webkit.mm

index 115284584368d1f476dd8f5fbe13221570ed3a8c..9c0d8e515d038746c13ce88d4c939b92fee19541 100644 (file)
@@ -796,7 +796,7 @@ void wxWebKitCtrl::MacVisibilityChanged(){
 
 - initWithWxWindow: (wxWebKitCtrl*)inWindow
 {
-    [super init];
+    self = [super init];
     webKitWindow = inWindow;    // non retained
     return self;
 }
@@ -877,7 +877,7 @@ void wxWebKitCtrl::MacVisibilityChanged(){
 
 - initWithWxWindow: (wxWebKitCtrl*)inWindow
 {
-    [super init];
+    self = [super init];
     webKitWindow = inWindow;    // non retained
     return self;
 }