Improved year control of generic calendar being too narrow when using a locale with long month names.

See #11444.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Dimitri Schoolwerth
2011-04-17 21:46:22 +00:00
parent 4be0198dce
commit 01d420639e

View File

@@ -705,7 +705,7 @@ wxSize wxGenericCalendarCtrl::DoGetBestSize() const
width += 25;
#endif
wxCoord w2 = bestSizeCombo.x + HORZ_MARGIN + GetCharWidth()*6;
wxCoord w2 = bestSizeCombo.x + HORZ_MARGIN + GetCharWidth()*8;
if ( width < w2 )
width = w2;
}