Enable wxDateTime if it's disabled but wxFileCtrl is enabled as the latter
needs the former, at least in the generic version.
Closes #12821.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70442
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
# endif
#endif /* wxUSE_CHOICEDLG */
# endif
#endif /* wxUSE_CHOICEDLG */
+#if wxUSE_FILECTRL
+# if !wxUSE_DATETIME
+# ifdef wxABORT_ON_CONFIG_ERROR
+# error "wxFileCtrl requires wxDateTime"
+# else
+# undef wxUSE_DATETIME
+# define wxUSE_DATETIME 1
+# endif
+# endif
+#endif /* wxUSE_FILECTRL */
+
#if wxUSE_HELP
# if !wxUSE_BMPBUTTON
# ifdef wxABORT_ON_CONFIG_ERROR
#if wxUSE_HELP
# if !wxUSE_BMPBUTTON
# ifdef wxABORT_ON_CONFIG_ERROR