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
m_pDateTime = val;
}
+#endif // wxUSE_DATETIME
+
wxGenericValidator::wxGenericValidator(wxFileName *val)
{
Initialize();
m_pDouble = val;
}
-#endif // wxUSE_DATETIME
-
wxGenericValidator::wxGenericValidator(const wxGenericValidator& val)
: wxValidator()
{