git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69074
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
#include "webkit/webkit.h"
#include "wx/sharedptr.h"
#include "webkit/webkit.h"
#include "wx/sharedptr.h"
wxDECLARE_DYNAMIC_CLASS(wxWebViewWebKit);
};
wxDECLARE_DYNAMIC_CLASS(wxWebViewWebKit);
};
-#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
-#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
#include "webkit/webkit.h"
#include "webkit/webkit.h"
WebKitWebHistoryItem* m_histItem;
};
WebKitWebHistoryItem* m_histItem;
};
-#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__)
#endif // _WX_GTK_WEBVIEWHISTORYITEM_H_
#endif // _WX_GTK_WEBVIEWHISTORYITEM_H_
-#if wxUSE_WEBVIEW_IE && defined(__WXMSW__)
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE && defined(__WXMSW__)
#include "wx/control.h"
#include "wx/webview.h"
#include "wx/control.h"
#include "wx/webview.h"
wxSharedPtr<wxWebViewHandler> m_handler;
};
wxSharedPtr<wxWebViewHandler> m_handler;
};
-#endif // wxUSE_WEBVIEW_IE && defined(__WXMSW__)
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE && defined(__WXMSW__)
-#if wxUSE_WEBVIEW_IE && defined(__WXMSW__)
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE && defined(__WXMSW__)
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
{
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
{
wxString m_url, m_title;
};
wxString m_url, m_title;
};
-#endif // wxUSE_WEBVIEW_IE && defined(__WXMSW__)
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE && defined(__WXMSW__)
#endif // _WX_MSW_WEBVIEWHISTORYITEM_H_
#endif // _WX_MSW_WEBVIEWHISTORYITEM_H_
-#if wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
- || defined(__WXOSX_CARBON__))
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
+ || defined(__WXOSX_CARBON__))
#include "wx/control.h"
#include "wx/webview.h"
#include "wx/control.h"
#include "wx/webview.h"
//TODO: look into using DECLARE_WXCOCOA_OBJC_CLASS rather than this.
};
//TODO: look into using DECLARE_WXCOCOA_OBJC_CLASS rather than this.
};
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
-#if wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
- || defined(__WXOSX_CARBON__))
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
+ || defined(__WXOSX_CARBON__))
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
{
class WXDLLIMPEXP_WEBVIEW wxWebViewHistoryItem
{
struct objc_object *m_histItem;
};
struct objc_object *m_histItem;
};
-#endif // wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX_MAC__)
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_
#endif // _WX_OSX_WEBVIEWHISTORYITEM_H_
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// 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"
#include "wx/stockitem.h"
#include "wx/gtk/webview_webkit.h"
-#endif // wxHAVE_WEB_BACKEND_GTK_WEBKIT
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
#include "wx/msw/webview_ie.h"
#include "wx/msw/webview_ie.h"
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE
#include <olectl.h>
#include <oleidl.h>
#include <olectl.h>
#include <oleidl.h>
+#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_IE
#include "wx/osx/webview_webkit.h"
#include "wx/osx/webview_webkit.h"
-#if wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
- || defined(__WXOSX_CARBON__))
+#if wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT && (defined(__WXOSX_COCOA__) \
+ || defined(__WXOSX_CARBON__))
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-#endif //wxUSE_WEBVIEW_WEBKIT
+#endif //wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT