Update wxWebView guards to stop backend compilation when wxUSE_WEBVIEW is 0.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Steve Lamerton
2011-09-12 18:35:39 +00:00
parent 96ceb55625
commit 9d2f31db0c
9 changed files with 21 additions and 21 deletions

View File

@@ -10,7 +10,7 @@
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if wxUSE_WEBVIEW_WEBKIT
#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
#include "wx/stockitem.h"
#include "wx/gtk/webview_webkit.h"
@@ -930,4 +930,4 @@ wxWebViewWebKit::GetClassDefaultAttributes(wxWindowVariant WXUNUSED(variant))
}
#endif // wxHAVE_WEB_BACKEND_GTK_WEBKIT
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT