Check if wxUSE_WEBREQUEST is defined
This commit is contained in:
@@ -10,10 +10,6 @@
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
@@ -29,6 +25,10 @@
|
||||
#include "../sample.xpm"
|
||||
#endif
|
||||
|
||||
#if !wxUSE_WEBREQUEST
|
||||
#error "wxUSE_WEBREQUEST must be 1 for this sample."
|
||||
#endif
|
||||
|
||||
class WebRequestFrame : public wxFrame
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user