mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06: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:
parent
920241f0d4
commit
06a06714c1
1 changed files with 2 additions and 0 deletions
|
@ -8,7 +8,9 @@
|
||||||
#include <wx/msw/webview_edge.h>
|
#include <wx/msw/webview_edge.h>
|
||||||
#endif
|
#endif
|
||||||
#include <wx/uri.h>
|
#include <wx/uri.h>
|
||||||
|
#if defined(__WIN32__) || defined(__WXMAC__)
|
||||||
#include "wx/private/jsscriptwrapper.h"
|
#include "wx/private/jsscriptwrapper.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
#include "../WebView2.h"
|
#include "../WebView2.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue