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.
This commit is contained in:
parent
cf3dcb230a
commit
623591823d
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue