]> git.saurik.com Git - wxWidgets.git/commitdiff
Cause a compile time error in the wxWebView sample if no backend exists.
authorSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 12:39:30 +0000 (12:39 +0000)
committerSteve Lamerton <steve.lamerton@gmail.com>
Wed, 14 Sep 2011 12:39:30 +0000 (12:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/webview/webview.cpp

index 17dca1d8c592cdbc5158d168a04a624d7bd2b366..bcadb595b6904a425b881a2eedc4d32498193a95 100644 (file)
     #include "wx/wx.h"
 #endif
 
     #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"
 #include "wx/artprov.h"
 #include "wx/notifmsg.h"
 #include "wx/settings.h"