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:
		@@ -35,6 +35,10 @@
 | 
			
		||||
    #include "wx/wx.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#if !wxUSE_DIALUP_MANAGER
 | 
			
		||||
#error You must set wxUSE_DIALUP_MANAGER to 1 in setup.h!
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "wx/dialup.h"
 | 
			
		||||
 | 
			
		||||
// ----------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
@@ -20,8 +20,12 @@
 | 
			
		||||
#include "wx/wx.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include <wx/wave.h>
 | 
			
		||||
#include <wx/joystick.h>
 | 
			
		||||
#if !wxUSE_JOYSTICK
 | 
			
		||||
#error You must set wxUSE_JOYSTICK to 1 in setup.h!
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "wx/wave.h"
 | 
			
		||||
#include "wx/joystick.h"
 | 
			
		||||
 | 
			
		||||
#include "joytest.h"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user