Improve wxDatePickerCtrlGeneric best size calculation.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 May 2012 19:38:02 +0000 (19:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 28 May 2012 19:38:02 +0000 (19:38 +0000)
commit2060e34cd268b962a2836755e2066803887597b5
tree1c1637916ad19b0d81991910175671e550701bcc
parent5d8cdb5d1c072744f8178fc9579ba2c81e35dda9
Improve wxDatePickerCtrlGeneric best size calculation.

Make the control just wide enough to fully show the contents of its text part.

This is still not ideal as we don't take into account wxComboCtrl internal
complications but better than before.

Closes #14342.

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