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:
@@ -15,8 +15,8 @@
|
||||
|
||||
#include "wx/setup.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"
|
||||
@@ -158,6 +158,6 @@ private:
|
||||
//TODO: look into using DECLARE_WXCOCOA_OBJC_CLASS rather than this.
|
||||
};
|
||||
|
||||
#endif // wxUSE_WEBKIT
|
||||
#endif // wxUSE_WEBVIEW && wxUSE_WEBVIEW_WEBKIT
|
||||
|
||||
#endif // _WX_WEBKIT_H_
|
||||
|
Reference in New Issue
Block a user