X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4353a8df6eb0c743f42a85364235195246225b76..d8dd214c1bccfd7a7defdbbedd69aef706a8816b:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 2c94762984..34ee4789e9 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -83,6 +83,14 @@ please keep the options in alphabetical order! */ +#ifndef wxUSE_BACKINGFILE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_BACKINGFILE must be defined." +# else +# define wxUSE_BACKINGFILE 0 +# endif +#endif /* !defined(wxUSE_BACKINGFILE) */ + #ifndef wxUSE_CRASHREPORT /* this one is special: as currently it is Windows-only, don't force it to be defined on other platforms */ @@ -312,6 +320,14 @@ preprocessor about invalid integer expression */ +#ifndef wxUSE_ABOUTDLG +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_ABOUTDLG must be defined." +# else +# define wxUSE_ABOUTDLG 0 +# endif +#endif /* !defined(wxUSE_ABOUTDLG) */ + #ifndef wxUSE_ACCEL # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_ACCEL must be defined." @@ -320,6 +336,14 @@ # endif #endif /* !defined(wxUSE_ACCEL) */ +#ifndef wxUSE_ANIMATIONCTRL +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_ANIMATIONCTRL must be defined." +# else +# define wxUSE_ANIMATIONCTRL 0 +# endif +#endif /* !defined(wxUSE_ANIMATIONCTRL) */ + #ifndef wxUSE_BITMAPCOMBOBOX # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_BITMAPCOMBOBOX must be defined." @@ -536,6 +560,15 @@ # endif #endif /* !defined(wxUSE_GAUGE) */ +#ifndef wxUSE_GRAPHICS_CONTEXT +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_GRAPHICS_CONTEXT must be defined." +# else +# define wxUSE_GRAPHICS_CONTEXT 0 +# endif +#endif /* !defined(wxUSE_GRAPHICS_CONTEXT) */ + + #ifndef wxUSE_GRID # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_GRID must be defined." @@ -1027,6 +1060,14 @@ # define wxUSE_STREAMS 1 # endif # endif +# if !wxUSE_FILE && !wxUSE_FFILE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_FILESYSTEM requires either wxUSE_FILE or wxUSE_FFILE" +# else +# undef wxUSE_FILESYSTEM +# define wxUSE_FILESYSTEM 0 +# endif +# endif #endif /* wxUSE_FILESYSTEM */ #if wxUSE_FS_INET @@ -1127,6 +1168,17 @@ # endif #endif /* wxUSE_ZIPSTREAM */ +#if wxUSE_BACKINGFILE +# if !wxUSE_STREAMS || (!wxUSE_FILE && !wxUSE_FFILE) +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxBackingFile requires wxStream and wxFile or wxFFile" +# else +# undef wxUSE_BACKINGFILE +# define wxUSE_BACKINGFILE 0 +# endif +# endif +#endif /* wxUSE_BACKINGFILE */ + /* the rest of the tests is for the GUI settings only */ #if wxUSE_GUI @@ -1238,6 +1290,16 @@ # endif #endif +#if wxUSE_GRAPHICS_CONTEXT && !wxUSE_GEOMETRY +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_GRAPHICS_CONTEXT requires wxUSE_GEOMETRY" +# else +# undef wxUSE_GRAPHICS_CONTEXT +# define wxUSE_GRAPHICS_CONTEXT 0 +# endif +#endif /* wxUSE_GRAPHICS_CONTEXT */ + + /* wxGTK-specific dependencies */ #ifdef __WXGTK__ # ifndef __WXUNIVERSAL__