From 4be0198dcefaf00c7a2c59c541262a39144eb9dc Mon Sep 17 00:00:00 2001 From: Dimitri Schoolwerth Date: Sun, 17 Apr 2011 21:45:36 +0000 Subject: [PATCH] Removed invalid use of sizeFlags parameter for SetSize call in generic calendar control. In r39715 the height parameter of a call to SetSize was changed to -1, however the previous coordinate value remained and became the fifth parameter which represents bit flags. Simply removed the fifth parameter. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67522 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 bd6776ec80..1b67512a02 100644 --- a/src/generic/calctrlg.cpp +++ b/src/generic/calctrlg.cpp @@ -738,7 +738,7 @@ void wxGenericCalendarCtrl::DoMoveWindow(int x, int y, int width, int height) #else m_comboMonth->Move(x, y + (maxHeight - sizeCombo.y)/2); #endif - m_staticMonth->SetSize(x, y + dy, sizeCombo.x, -1, sizeStatic.y); + m_staticMonth->SetSize(x, y + dy, sizeCombo.x, -1); int xDiff = sizeCombo.x + HORZ_MARGIN; -- 2.50.0