X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e7c34b5a19630968d4857dbbef04b6d87dacc63..ee442831984b69b4dc13bfe976dd2b57cb62a2ab:/src/html/htmlctrl/webkit/webkit.mm diff --git a/src/html/htmlctrl/webkit/webkit.mm b/src/html/htmlctrl/webkit/webkit.mm index 1152845843..9c0d8e515d 100644 --- a/src/html/htmlctrl/webkit/webkit.mm +++ b/src/html/htmlctrl/webkit/webkit.mm @@ -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; }