Require MSVS 2015+ and remove checks for earlier versions

Simplify the code checking for _MSC_VER or __VISUALC__ or using
wxCHECK_VISUALC_VERSION() macro (which is not very useful any longer,
but keep it in case we need it again in the future).
This commit is contained in:
Vadim Zeitlin 2022-10-09 23:38:10 +02:00
parent 67b8ca5ef1
commit 924db833f4
26 changed files with 69 additions and 176 deletions

View file

@ -211,7 +211,7 @@ TEST_CASE("ArgsValidation", "[wxString][vararg][error]")
// default starting from VC8 and somehow even calling
// _set_printf_count_output() doesn't help here, so don't use "%n" at all
// with it.
#if wxCHECK_VISUALC_VERSION(8)
#if defined(__VISUALC__)
#define wxNO_PRINTF_PERCENT_N
#endif // VC8+