]> git.saurik.com Git - wxWidgets.git/commit - samples/widgets/timepick.cpp
Added wxTimePickerCtrl::GetTime() and SetTime().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2012 23:17:01 +0000 (23:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 25 Mar 2012 23:17:01 +0000 (23:17 +0000)
commitc0795ce8ea8a3f50ce32a2b9aad1cc3bcc458205
treeebb4c31b137ef1391c666da5a7776e2942e79a43
parent25d7cf54f0c2282762f61da92c716f996cf116bf
Added wxTimePickerCtrl::GetTime() and SetTime().

These methods, taking broken down time representation, avoid the problems
arising due to DST complications when using wxDateTime to represent the time
as special care needs to be taken in this case to avoid using the date part
corresponding to a DST change date at which time is discontinuous.

Document the problem with the old functions and use the new ones in the
sample.

See #14137.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
include/wx/timectrl.h
interface/wx/timectrl.h
samples/widgets/timepick.cpp