]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlctrl/webkit/webkit.mm
adjust init to standard
[wxWidgets.git] / 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;
 }