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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user