X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f43426c1b97fe120b04c9a65d855d6861404ac14..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index a7038ab7e2..20ff0d93ec 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 */ @@ -117,6 +125,14 @@ # endif #endif /* !defined(wxUSE_FILESYSTEM) */ +#ifndef wxUSE_FS_ARCHIVE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_FS_ARCHIVE must be defined." +# else +# define wxUSE_FS_ARCHIVE 0 +# endif +#endif /* !defined(wxUSE_FS_ARCHIVE) */ + /* don't give an error about this one yet, it's not fully implemented */ #ifndef wxUSE_FSVOLUME # define wxUSE_FSVOLUME 0 @@ -312,6 +328,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 +344,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." @@ -1144,6 +1176,49 @@ # endif #endif /* wxUSE_ZIPSTREAM */ +#if wxUSE_FS_ARCHIVE +# if !wxUSE_ARCHIVE_STREAMS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxArchiveFSHandler requires wxArchive and wxBackingFile" +# else +# undef wxUSE_ARCHIVE_STREAMS +# define wxUSE_ARCHIVE_STREAMS 1 +# undef wxUSE_BACKINGFILE +# define wxUSE_BACKINGFILE 1 +# endif +# endif +#endif /* wxUSE_FS_ARCHIVE */ + +#if wxUSE_BACKINGFILE +# if !wxUSE_STREAMS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxBackingFile requires wxStream" +# else +# undef wxUSE_STREAMS +# define wxUSE_STREAMS 1 +# endif +# endif +# if !wxUSE_FILE && !wxUSE_FFILE +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxBackingFile requires wxFile or wxFFile" +# else +# undef wxUSE_FFILE +# define wxUSE_FFILE 1 +# endif +# endif +#endif /* wxUSE_BACKINGFILE */ + +#if wxUSE_TARSTREAM +# if !wxUSE_ARCHIVE_STREAMS +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxTar requires wxArchive" +# else +# undef wxUSE_ARCHIVE_STREAMS +# define wxUSE_ARCHIVE_STREAMS 1 +# endif +# endif +#endif /* wxUSE_TARSTREAM */ + /* the rest of the tests is for the GUI settings only */ #if wxUSE_GUI