mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 00:52:04 +00:00
WebView: Only include the private header on Windows and macOS
The wrapper isn't used in the Linux code path. Some distributions' wxWidgets packages don't ship the private headers.
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
#include <wx/msw/webview_edge.h>
|
||||
#endif
|
||||
#include <wx/uri.h>
|
||||
#if defined(__WIN32__) || defined(__WXMAC__)
|
||||
#include "wx/private/jsscriptwrapper.h"
|
||||
#endif
|
||||
|
||||
#ifdef __WIN32__
|
||||
#include "../WebView2.h"
|
||||
|
||||
Reference in New Issue
Block a user