Skip to content

Commit aa11466

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 a0e13a4 commit aa11466

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/wx/c_src/gen/wxe_macros.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,15 @@
6868
#include <wx/sysopt.h>
6969
#include <wx/overlay.h>
7070
#include <wx/notifmsg.h>
71+
#if WXE_WEBVIEW
7172
#include <wx/webview.h>
7273
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE
7374
#include <wx/msw/webview_ie.h>
7475
#endif
76+
#endif
77+
#if wxUSE_GLCANVAS_EGL && !wxCHECK_VERSION(3,2,3)
78+
#include <EGL/egl.h>
79+
#endif
7580

7681

7782
#ifndef wxICON_DEFAULT_BITMAP_TYPE

0 commit comments

Comments
 (0)