mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Move Christmas to December from the 13th month
This commit is contained in:
committed by
Vadim Zeitlin
parent
d6af1f50ca
commit
807aeb252a
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user