Check if wxUSE_WEBREQUEST is defined

This commit is contained in:
Maarten Bent
2021-03-18 20:49:57 +01:00
parent c82e13068a
commit 5bdd5e1432
4 changed files with 7 additions and 7 deletions

View File

@@ -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: