]> git.saurik.com Git - wxWidgets.git/commitdiff
Tidy up the include guards for the various wxWebView header files.
authorSteve Lamerton <steve.lamerton@gmail.com>
Thu, 28 Jul 2011 16:58:18 +0000 (16:58 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Thu, 28 Jul 2011 16:58:18 +0000 (16:58 +0000)
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
include/wx/osx/webview_webkit.h

index 7bc2d268cd20725c70f31ec90203ee4eda0bbaeb..fbbf5da93601afeb68b76c68428812aba502f8f2 100644 (file)
@@ -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"
index 8744668dfefe219fe447addb3af871c6b10f027c..8ce778ba9770325d2f7fab8602f5f10842e0e239 100644 (file)
@@ -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_