X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/05dcbb8e9eea2fde831fe5d0df0ccf56dc522379..f763782968b314d45c416e2066b9ae5cc56aa406:/include/wx/chkconf.h?ds=sidebyside diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index a5170724b4..01ca99e4c5 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -336,6 +336,14 @@ # endif #endif /* !defined(wxUSE_RADIOBTN) */ +#ifndef wxUSE_REGEX +# ifdef wxABORT_ON_CONFIG_ERROR +# error "wxUSE_REGEX must be defined." +# else +# define wxUSE_REGEX 0 +# endif +#endif /* !defined(wxUSE_REGEX) */ + #ifndef wxUSE_SASH # ifdef wxABORT_ON_CONFIG_ERROR # error "wxUSE_SASH must be defined." @@ -587,6 +595,16 @@ # endif #endif /* wxGTK && !wxUniv */ +/* wxMotif-specific dependencies */ +#if defined(__WXMOTIF__) && wxUSE_NOTEBOOK && !wxUSE_TAB_DIALOG +# undef wxUSE_TAB_DIALOG +# define wxUSE_TAB_DIALOG 1 +#endif +#if defined(__WXMOTIF__) && wxUSE_TOGGLEBTN +# undef wxUSE_TOGGLEBTN +# define wxUSE_TOGGLEBTN 0 +#endif + /* generic controls dependencies */ #if !defined(__WXMSW__) || defined(__WXUNIVERSAL__) # if wxUSE_FONTDLG || wxUSE_FILEDLG || wxUSE_CHOICEDLG