core/MenuStyle_Base.cpp
changeset 1653 ad81268fb2f2
parent 1476 24da5fadf93f
child 1766 d30c252089be
     1.1 --- a/core/MenuStyle_Base.cpp	Mon Oct 29 00:33:20 2007 +0000
     1.2 +++ b/core/MenuStyle_Base.cpp	Tue Oct 30 01:22:47 2007 +0000
     1.3 @@ -711,6 +711,12 @@
     1.4  		return false;
     1.5  	}
     1.6  
     1.7 +	if (itemsPerPage == MENU_NO_PAGINATION
     1.8 +		&& m_Pagination != MENU_NO_PAGINATION)
     1.9 +	{
    1.10 +		m_nFlags &= ~MENUFLAG_BUTTON_EXIT;
    1.11 +	}
    1.12 +
    1.13  	m_Pagination = itemsPerPage;
    1.14  
    1.15  	return true;