diff --git a/src/common/valgen.cpp b/src/common/valgen.cpp index bc5d8c806f..315d53a48c 100644 --- a/src/common/valgen.cpp +++ b/src/common/valgen.cpp @@ -84,6 +84,8 @@ wxGenericValidator::wxGenericValidator(wxDateTime *val) m_pDateTime = val; } +#endif // wxUSE_DATETIME + wxGenericValidator::wxGenericValidator(wxFileName *val) { Initialize(); @@ -102,8 +104,6 @@ wxGenericValidator::wxGenericValidator(double *val) m_pDouble = val; } -#endif // wxUSE_DATETIME - wxGenericValidator::wxGenericValidator(const wxGenericValidator& val) : wxValidator() {