X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/906c935a80b10d53cecf57f71ab5f3f4f1d529ec..49b489e80f11e0a6f23116a8e16a8138948e11af:/src/common/valgen.cpp 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() {