Add forgotten wxUSE_VALIDATORS checks

Compilation with wxUSE_VALIDATORS==0 would have failed after the recent
changes, so fix this by adding the missing check.

See #23312.

(cherry picked from commit 623591823d503a46a843503c126d2bfc542fef3f)
This commit is contained in:
Vadim Zeitlin 2023-03-09 00:19:01 +01:00
parent c08e48d627
commit fe3dff8aa6

View File

@ -54,6 +54,8 @@
namespace
{
#if wxUSE_VALIDATORS
class DateValidator : public wxValidator
{
public:
@ -108,6 +110,8 @@ private:
const wxString m_format;
};
#endif // wxUSE_VALIDATORS
} // anonymous namespace
class wxCalendarComboPopup : public wxCalendarCtrl,