fix for g++ signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -330,7 +330,7 @@ void wxCalendarCtrl::UpdateMarks()
|
|||||||
{
|
{
|
||||||
MONTHDAYSTATE states[3];
|
MONTHDAYSTATE states[3];
|
||||||
const int nMonths = MonthCal_GetMonthRange(GetHwnd(), GMR_DAYSTATE, NULL);
|
const int nMonths = MonthCal_GetMonthRange(GetHwnd(), GMR_DAYSTATE, NULL);
|
||||||
wxCHECK_RET( nMonths <= WXSIZEOF(states), "unexpected months range" );
|
wxCHECK_RET( nMonths <= (int)WXSIZEOF(states), "unexpected months range" );
|
||||||
|
|
||||||
for ( int i = 0; i < nMonths; i++ )
|
for ( int i = 0; i < nMonths; i++ )
|
||||||
states[i] = m_marks;
|
states[i] = m_marks;
|
||||||
|
|||||||
Reference in New Issue
Block a user