Add support for WebKit2GTK+ in wxWebView
This commit is contained in:
committed by
Steven Lamerton
parent
d10c600773
commit
cbe0a1f049
@@ -753,12 +753,23 @@
|
||||
// Default is 1 on GTK and OSX
|
||||
//
|
||||
// Recommended setting: 1
|
||||
#if defined(__WXGTK__) || defined(__WXOSX__)
|
||||
#if (defined(__WXGTK__) && !defined(__WXGTK3__)) || defined(__WXOSX__)
|
||||
#define wxUSE_WEBVIEW_WEBKIT 1
|
||||
#else
|
||||
#define wxUSE_WEBVIEW_WEBKIT 0
|
||||
#endif
|
||||
|
||||
// Use the WebKit2 wxWebView backend
|
||||
//
|
||||
// Default is 1 on GTK3
|
||||
//
|
||||
// Recommended setting: 1
|
||||
#if defined(__WXGTK3__)
|
||||
#define wxUSE_WEBVIEW_WEBKIT2 1
|
||||
#else
|
||||
#define wxUSE_WEBVIEW_WEBKIT2 0
|
||||
#endif
|
||||
|
||||
// Enable wxGraphicsContext and related classes for a modern 2D drawing API.
|
||||
//
|
||||
// Default is 1 except if you're using a non-Microsoft compiler under Windows
|
||||
|
Reference in New Issue
Block a user