Skip to content

Commit f736bde

Browse files
committed
Merge remote-tracking branch 'upstream/pr/10163' into maint
* upstream/pr/10163: wx: check WXE_WEBVIEW before include wx/webview.h
2 parents f130879 + 7872713 commit f736bde

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/wx/c_src/gen/wxe_macros.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,12 @@
7171
#include <wx/sysopt.h>
7272
#include <wx/overlay.h>
7373
#include <wx/notifmsg.h>
74+
#if WXE_WEBVIEW
7475
#include <wx/webview.h>
7576
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE
7677
#include <wx/msw/webview_ie.h>
7778
#endif
79+
#endif
7880
#if wxUSE_GLCANVAS_EGL && !wxCHECK_VERSION(3,2,3)
7981
#include <EGL/egl.h>
8082
#endif

0 commit comments

Comments
 (0)