From 807aeb252a1e8330f1a79ca1eaacb593c087b9d0 Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Tue, 26 Aug 2025 15:27:46 +0300 Subject: [PATCH] Move Christmas to December from the 13th month --- include/wx/datetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/datetime.h b/include/wx/datetime.h index eaf02e1f05..c47283b038 100644 --- a/include/wx/datetime.h +++ b/include/wx/datetime.h @@ -1689,7 +1689,7 @@ protected: bool DoIsHoliday(const wxDateTime& dt) const override { if (dt.IsSameDate(GetEaster(dt.GetYear())) || - (dt.GetMonth() == 12 && dt.GetDay() == 25)) + (dt.GetMonth() == wxDateTime::Month::Dec && dt.GetDay() == 25)) { return true; }