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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user