From 4794f127cd5a9fa828ec662ee16088216c3f736f Mon Sep 17 00:00:00 2001 From: Steve Lamerton Date: Wed, 14 Sep 2011 12:39:30 +0000 Subject: [PATCH] Cause a compile time error in the wxWebView sample if no backend exists. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/webview/webview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/samples/webview/webview.cpp b/samples/webview/webview.cpp index 17dca1d8c5..bcadb595b6 100644 --- a/samples/webview/webview.cpp +++ b/samples/webview/webview.cpp @@ -22,6 +22,10 @@ #include "wx/wx.h" #endif +#if !wxUSE_WEBVIEW_WEBKIT && !wxUSE_WEBVIEW_IE +#error "A wxWebView backend is required by this sample" +#endif + #include "wx/artprov.h" #include "wx/notifmsg.h" #include "wx/settings.h" -- 2.50.0