From: Steve Lamerton Date: Sun, 11 Sep 2011 13:26:24 +0000 (+0000) Subject: Ensure that we have an available backend for wxWebView compilation. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/7011055c55538a9f38bc265bbafab4afa3ae2981?ds=sidebyside Ensure that we have an available backend for wxWebView compilation. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/webview.h b/include/wx/webview.h index a58fd87f97..0eef3f6b6a 100644 --- a/include/wx/webview.h +++ b/include/wx/webview.h @@ -12,7 +12,7 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #include "wx/control.h" #include "wx/event.h" @@ -230,6 +230,6 @@ typedef void (wxEvtHandler::*wxWebViewEventFunction) wx__DECLARE_EVT1(wxEVT_COMMAND_WEB_VIEW_TITLE_CHANGED, id, \ wxWebViewEventHandler(fn)) -#endif // wxUSE_WEBVIEW +#endif // wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #endif // _WX_WEB_VIEW_H_ diff --git a/include/wx/webviewarchivehandler.h b/include/wx/webviewarchivehandler.h index a0d02b6f27..46d639e523 100644 --- a/include/wx/webviewarchivehandler.h +++ b/include/wx/webviewarchivehandler.h @@ -12,7 +12,7 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) class wxFSFile; class wxFileSystem; @@ -32,6 +32,6 @@ private: wxFileSystem* m_fileSystem; }; -#endif // wxUSE_WEBVIEW +#endif // wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #endif // _WX_WEB_VIEW_FILE_HANDLER_H_ diff --git a/src/common/webview.cpp b/src/common/webview.cpp index 63f5f2b343..49c9c31740 100644 --- a/src/common/webview.cpp +++ b/src/common/webview.cpp @@ -10,7 +10,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_WEBVIEW +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #if defined(__BORLANDC__) #pragma hdrstop @@ -112,4 +112,4 @@ wxWebView* wxWebView::New(wxWindow* parent, } } -#endif // wxUSE_WEBVIEW +#endif // wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) diff --git a/src/common/webviewarchivehandler.cpp b/src/common/webviewarchivehandler.cpp index 10f15df7e0..2d8f16d633 100644 --- a/src/common/webviewarchivehandler.cpp +++ b/src/common/webviewarchivehandler.cpp @@ -10,7 +10,7 @@ // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#if wxUSE_WEBVIEW +#if wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE) #if defined(__BORLANDC__) #pragma hdrstop @@ -110,4 +110,4 @@ wxFSFile* wxWebViewArchiveHandler::GetFile(const wxString &uri) } } -#endif // wxUSE_WEBVIEW +#endif // wxUSE_WEBVIEW && (wxUSE_WEBVIEW_WEBKIT || wxUSE_WEBVIEW_IE)