Use wxWebView::New() factory on macOS (direct ctor removed in wx 3.3)

This commit is contained in:
SoftFever
2026-03-25 11:36:54 +08:00
parent 11a80a1e1c
commit ed88cbe3f5

View File

@@ -257,8 +257,6 @@ wxWebView* WebView::CreateWebView(wxWindow * parent, wxString const & url)
#ifdef __WIN32__
wxWebView* webView = new WebViewEdge;
#elif defined(__WXOSX__)
wxWebView *webView = new WebViewWebKit;
#else
auto webView = wxWebView::New();
#endif