Slightly improve the date/time dialogs in the calendar sample.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Nov 2012 23:55:22 +0000 (23:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 4 Nov 2012 23:55:22 +0000 (23:55 +0000)
commit244e36e8e22b4220499ff0bf656afd2ec9e4578d
tree82cd8419043f02984c2f4702934b6f297742e764
parent8effba4f5a412bbfe1949ddec6808e10eb25881f
Slightly improve the date/time dialogs in the calendar sample.

Use CreateStdDialogButtonSizer() instead of constructing
wxStdDialogButtonSizer directly, not only this is shorter but it also makes
the "OK" button default correctly.

Also initialize the labels instead of leaving them initially empty.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
samples/calendar/calendar.cpp