X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5ac31f6f8d0b0bf500ad05b826798cefc9b70945..7017fd6745ea99b3c479c96b0f609f8397640de5:/include/wx/chkconf.h diff --git a/include/wx/chkconf.h b/include/wx/chkconf.h index 17016e4ba1..ae7b45c4e5 100644 --- a/include/wx/chkconf.h +++ b/include/wx/chkconf.h @@ -831,6 +831,17 @@ check consistency of the settings */ +#if WXWIN_COMPATIBILITY_2_4 +# if !WXWIN_COMPATIBILITY_2_6 +# ifdef wxABORT_ON_CONFIG_ERROR +# error "2.4.X compatibility requires 2.6.X compatibility" +# else +# undef WXWIN_COMPATIBILITY_2_6 +# define WXWIN_COMPATIBILITY_2_6 1 +# endif +# endif +#endif /* WXWIN_COMPATIBILITY_2_4 */ + #if wxUSE_ARCHIVE_STREAMS # if !wxUSE_DATETIME # ifdef wxABORT_ON_CONFIG_ERROR