Fix the check for wxUSE_DATETIME in wxGenericValidator code.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Apr 2012 22:27:31 +0000 (22:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Apr 2012 22:27:31 +0000 (22:27 +0000)
commit15e42bb781df7f069cc3b008f2a8004e398820af
treef6c9c0e2346cc29c4b5386ba11e11865aac152c5
parent4e30a4ce57151b46d1f327e4b1bf0682708f1001
Fix the check for wxUSE_DATETIME in wxGenericValidator code.

The #endif was somehow added at a wrong place and too much
wxDateTime-unrelated code was disabled when wxUSE_DATETIME was off.

Closes #14222.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/valgen.cpp