mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-18 21:20:57 +00:00
Use wxWebView::New() factory on macOS (direct ctor removed in wx 3.3)
This commit is contained in:
1 parent
11a80a1e1c
commit
ed88cbe3f5
1 file changed
-2
@@ -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