]> git.saurik.com Git - wxWidgets.git/commit
Applied patch [ 666379 ] CalCtrl doesn't use best sizes for the year combobox
authorJulian Smart <julian@anthemion.co.uk>
Fri, 24 Jan 2003 12:00:28 +0000 (12:00 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 24 Jan 2003 12:00:28 +0000 (12:00 +0000)
commit95bcc40c745db8bcd392d06366436afb21964db6
tree515523924555d02004f3b644d6ac6fb56ba55802
parent53b982112d951a0c77d58c1f6916a551e8bccd73
Applied patch [ 666379 ] CalCtrl doesn't use best sizes for the year combobox

In the calender the size of the combobox for the year
is just defined by a margin from the month combobox to
the left border. While in wxUniv the year control can't
show all 4 digits, in wxMsw it show almost twice as
much.Instead the year should use it's best size and be
left aligned to the calendar. Just in case the month in
any language is longer than it has space in the
calendar it is shortend.This way the year always can
show the 4 digits.

This patch relies on the fact that a combobox has a
good best size implementation. This is not the case
with wxMSW but I don't know why. In wxUniv there is
another patch [634896].

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