fixing year display, see #11444

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@64669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2010-06-21 14:01:59 +00:00
parent 5bd7710593
commit 6bc5b23535

View File

@@ -800,7 +800,7 @@ wxSize wxGenericCalendarCtrl::DoGetBestSize() const
+ VERT_MARGIN;
#ifdef __WXMAC__
// the spin control get clipped otherwise
width += 10;
width += 25;
#endif
wxCoord w2 = bestSizeCombo.x + HORZ_MARGIN + GetCharWidth()*6;