From 47943187c1ccb1d885f753ec82d6e01ea15b2849 Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Thu, 28 Jul 2011 16:58:18 +0000 Subject: [PATCH] Tidy up the include guards for the various wxWebView header files. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/SOC2011_WEBVIEW@68447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/gtk/webview_webkit.h | 2 +- include/wx/osx/webview_webkit.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/wx/gtk/webview_webkit.h b/include/wx/gtk/webview_webkit.h index 7bc2d268cd..fbbf5da936 100644 --- a/include/wx/gtk/webview_webkit.h +++ b/include/wx/gtk/webview_webkit.h @@ -12,7 +12,7 @@ #include "wx/setup.h" -#if wxUSE_WEBVIEW_WEBKIT +#if wxUSE_WEBVIEW_WEBKIT && defined(__WXGTK__) #include "webkit/webkit.h" #include "wx/sharedptr.h" diff --git a/include/wx/osx/webview_webkit.h b/include/wx/osx/webview_webkit.h index 8744668dfe..8ce778ba97 100644 --- a/include/wx/osx/webview_webkit.h +++ b/include/wx/osx/webview_webkit.h @@ -15,7 +15,7 @@ #include "wx/setup.h" -//#if wxUSE_WEBKIT && (defined(__WXMAC__) || defined(__WXCOCOA__)) +#if wxUSE_WEBVIEW_WEBKIT && defined(__WXOSX_MAC__) #include "wx/control.h" #include "wx/webview.h" @@ -172,6 +172,6 @@ private: #endif }; -//#endif // wxUSE_WEBKIT +#endif // wxUSE_WEBKIT #endif // _WX_WEBKIT_H_ -- 2.45.2