Added compile-time check to be sure that wxUSE_ is set to 1

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Gilles Depeyrot
2001-11-26 06:47:54 +00:00
parent 41b0a1139d
commit 9832ce0bcc
2 changed files with 10 additions and 2 deletions

View File

@@ -35,6 +35,10 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#if !wxUSE_DIALUP_MANAGER
#error You must set wxUSE_DIALUP_MANAGER to 1 in setup.h!
#endif
#include "wx/dialup.h" #include "wx/dialup.h"
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -20,8 +20,12 @@
#include "wx/wx.h" #include "wx/wx.h"
#endif #endif
#include <wx/wave.h> #if !wxUSE_JOYSTICK
#include <wx/joystick.h> #error You must set wxUSE_JOYSTICK to 1 in setup.h!
#endif
#include "wx/wave.h"
#include "wx/joystick.h"
#include "joytest.h" #include "joytest.h"