This got lost, almost surely accidentally, in 706c8e8ad6 (Merge branch 'disable-native-animation', 2020-04-07), so just restore it now. See https://github.com/wxWidgets/wxWidgets/pull/1768 Closes #18725.
706c8e8ad6