From 01d420639e673563991fd2b4004daa699340884a Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sun, 17 Apr 2011 21:46:22 +0000 Subject: [PATCH] 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 --- src/generic/calctrlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/calctrlg.cpp b/src/generic/calctrlg.cpp index 1b67512a02..5a66eb2471 100644 --- a/src/generic/calctrlg.cpp +++ b/src/generic/calctrlg.cpp @@ -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; } -- 2.47.2