Skip to content

Commit 4a6234b

Browse files
committed
wx: check WXE_WEBVIEW before include wx/webview.h
There are cases where wx/configure.ac detects that wxwidgets does not have support for webview.
1 parent f0c3bf5 commit 4a6234b

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)