Fix assert when using year or decade view in Windows 7 calendar control.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Feb 2010 14:10:02 +0000 (14:10 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 26 Feb 2010 14:10:02 +0000 (14:10 +0000)
commit9573840bcf042dda2d273d5c8f3c2bda27e89d01
treeeb52040fdb694c99b15a746aa11a6ebfdecf02db
parent6331afb0534f4bbb5160c8c4008516741a469842
Fix assert when using year or decade view in Windows 7 calendar control.

Windows 7 native calendar control is capable of showing more than 3 months
simultaneously in its year or decade view which is shown when the user zooms
out of the month view by double clicking the control header. This resulted in
an assert failure in the code, update it to simply not do anything in this
view.

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