Set marks used in wxMSW wxCalendarCtrl unconditionally.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Feb 2012 16:26:41 +0000 (16:26 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 11 Feb 2012 16:26:41 +0000 (16:26 +0000)
commit169b83dd23fb5fa91dcac062fe7aafa5fb22a2db
tree202ea44dc5ab2b2bbcf830aaf902828c463849f8
parente9270aaac876dd258be5ff59446e7083ab26887e
Set marks used in wxMSW wxCalendarCtrl unconditionally.

This fixes wrong display (random days could have been shown marked) when not
using wxCAL_SHOW_HOLIDAYS style. Apparently we need to set the marks
unconditionally as they are not turned off by default, so ensure we call
UpdateMarks() even without wxCAL_SHOW_HOLIDAYS.

See #13934.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/calctrl.cpp