]> git.saurik.com Git - wxWidgets.git/commit - include/wx/gtk/calctrl.h
Implement wxCalendarCtrl::SetDateRange() in the native GTK version.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Jun 2011 22:46:36 +0000 (22:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 19 Jun 2011 22:46:36 +0000 (22:46 +0000)
commit106f0d98f88a701b4c9ea7e2419d7ee6c66de13b
tree5cf03a2edadea413b6bf3fe477d1bb37440eefa1
parent459c6f2a8a01632660d1725a9a4a28a8008c5c62
Implement wxCalendarCtrl::SetDateRange() in the native GTK version.

While GTK+ doesn't support imposing ranges for dates selection natively, we
can do it ourselves by preventing the user from selecting any date outside of
the currently valid range.

This allows to use ranges under all platforms and not only in wxCalendarCtrl
itself but in wxDatePickerCtrl as well.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/gtk/calctrl.h
interface/wx/calctrl.h
samples/calendar/calendar.cpp
src/gtk/calctrl.cpp