mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-04-06 00:32:05 +02:00
Use wxWebView::New() factory on macOS (direct ctor removed in wx 3.3)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user