diff --git a/src/msw/webview_ie.cpp b/src/msw/webview_ie.cpp index 6f74235498..cc447313bf 100644 --- a/src/msw/webview_ie.cpp +++ b/src/msw/webview_ie.cpp @@ -111,7 +111,6 @@ bool wxWebViewIE::Create(wxWindow* parent, EnableControlFeature(21 /* FEATURE_DISABLE_NAVIGATION_SOUNDS */); LoadURL(url); - return true; } diff --git a/src/osx/webview_webkit.mm b/src/osx/webview_webkit.mm index d7e7ab6a54..2e7fb12f14 100644 --- a/src/osx/webview_webkit.mm +++ b/src/osx/webview_webkit.mm @@ -153,7 +153,6 @@ bool wxWebViewWebKit::Create(wxWindow *parent, [NSURLProtocol registerClass:[WebViewCustomProtocol class]]; LoadURL(strURL); - return true; }