No real changes, just cleanup week days handling in wxGenericCalendarCtrl.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:40:47 +0000 (22:40 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 24 Oct 2010 22:40:47 +0000 (22:40 +0000)
commit0bb84570cea789202aa26409a4879202a9810b70
treef35cafc92b3f7b9fab45c0d64c72ce15ac290067
parent3c9863aca7b164a3fa3fcb61af9f0fbdf30e08f2
No real changes, just cleanup week days handling in wxGenericCalendarCtrl.

Use helper GetWeek{Start,End}() functions instead of repeating tests for
wxCAL_MONDAY_FIRST over and over again.

Also replace some occurrences of GetWindowStyle() with shorter and more clear
HasFlag().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/generic/calctrlg.h
src/generic/calctrlg.cpp