Add wxWebView backend wxUSE_ macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@67934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1037,6 +1037,7 @@ WX_ARG_FEATURE(dragimage, [ --enable-dragimage use wxDragImage], wxUSE_D
|
|||||||
WX_ARG_FEATURE(accessibility,[ --enable-accessibility enable accessibility support], wxUSE_ACCESSIBILITY)
|
WX_ARG_FEATURE(accessibility,[ --enable-accessibility enable accessibility support], wxUSE_ACCESSIBILITY)
|
||||||
WX_ARG_FEATURE(uiactionsim, [ --enable-uiactionsim use wxUIActionSimulator (experimental)], wxUSE_UIACTIONSIMULATOR)
|
WX_ARG_FEATURE(uiactionsim, [ --enable-uiactionsim use wxUIActionSimulator (experimental)], wxUSE_UIACTIONSIMULATOR)
|
||||||
WX_ARG_FEATURE(dctransform, [ --enable-dctransform use wxDC::SetTransformMatrix and related], wxUSE_DC_TRANSFORM_MATRIX)
|
WX_ARG_FEATURE(dctransform, [ --enable-dctransform use wxDC::SetTransformMatrix and related], wxUSE_DC_TRANSFORM_MATRIX)
|
||||||
|
WX_ARG_FEATURE(webviewwebkit,[ --enable-webview-webkit use wxWebView WebKit backend], wxUSE_WEBVIEW_WEBKIT)
|
||||||
|
|
||||||
dnl ---------------------------------------------------------------------------
|
dnl ---------------------------------------------------------------------------
|
||||||
dnl support for image formats that do not rely on external library
|
dnl support for image formats that do not rely on external library
|
||||||
@@ -1061,6 +1062,7 @@ WX_ARG_FEATURE(ps-in-msw, [ --enable-ps-in-msw use PS printing in wxMSW
|
|||||||
WX_ARG_FEATURE(ownerdrawn, [ --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)], wxUSE_OWNER_DRAWN)
|
WX_ARG_FEATURE(ownerdrawn, [ --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)], wxUSE_OWNER_DRAWN)
|
||||||
WX_ARG_FEATURE(uxtheme, [ --enable-uxtheme enable support for Windows XP themed look (Win32 only)], wxUSE_UXTHEME)
|
WX_ARG_FEATURE(uxtheme, [ --enable-uxtheme enable support for Windows XP themed look (Win32 only)], wxUSE_UXTHEME)
|
||||||
WX_ARG_FEATURE(wxdib, [ --enable-wxdib use wxDIB class (Win32 only)], wxUSE_DIB)
|
WX_ARG_FEATURE(wxdib, [ --enable-wxdib use wxDIB class (Win32 only)], wxUSE_DIB)
|
||||||
|
WX_ARG_FEATURE(webviewie, [ --enable-webview-ie use wxWebView IE backend (Win32 only)], wxUSE_WEBVIEW_IE)
|
||||||
|
|
||||||
dnl this one is not really MSW-specific but it exists mainly to be turned off
|
dnl this one is not really MSW-specific but it exists mainly to be turned off
|
||||||
dnl under MSW, it should be off by default on the other platforms
|
dnl under MSW, it should be off by default on the other platforms
|
||||||
|
@@ -710,6 +710,27 @@
|
|||||||
// Recommended setting: 1
|
// Recommended setting: 1
|
||||||
#define wxUSE_WEB 1
|
#define wxUSE_WEB 1
|
||||||
|
|
||||||
|
// Use the IE wxWebView backend
|
||||||
|
//
|
||||||
|
// Default is 1 on MSW
|
||||||
|
//
|
||||||
|
// Recommended setting: 1
|
||||||
|
#ifdef __WXMSW__
|
||||||
|
#define wxUSE_WEBVIEW_IE 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_WEBVIEW_IE 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
// Use the WebKit wxWebView backend
|
||||||
|
//
|
||||||
|
// Default is 1 on GTK and OSX
|
||||||
|
//
|
||||||
|
// Recommended setting: 1
|
||||||
|
#if defined(__WXGTK__) || defined(__WXOSX__)
|
||||||
|
#define wxUSE_WEBVIEW_WEBKIT 1
|
||||||
|
#else
|
||||||
|
#define wxUSE_WEBVIEW_WEBKIT 0
|
||||||
|
#endif
|
||||||
|
|
||||||
// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
|
// Enable the new wxGraphicsPath and wxGraphicsContext classes for an advanced
|
||||||
// 2D drawing API. (Still somewhat experimental)
|
// 2D drawing API. (Still somewhat experimental)
|
||||||
|
Reference in New Issue
Block a user