git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38337
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
m_updateScrollbarX = true;
}
// or also decreased if the old string was the longest one
m_updateScrollbarX = true;
}
// or also decreased if the old string was the longest one
- else if ( n == m_maxWidthItem )
+ else if ( n == (unsigned int)m_maxWidthItem )
{
RefreshHorzScrollbar();
}
{
RefreshHorzScrollbar();
}
- else if ( n < m_current )
+ else if ( (int)n < m_current )
unsigned int count = m_selections.GetCount();
for ( unsigned int item = 0; item < count; item++ )
{
unsigned int count = m_selections.GetCount();
for ( unsigned int item = 0; item < count; item++ )
{
- if ( m_selections[item] == n )
+ if ( m_selections[item] == (int)n )
{
// remember to delete it later
index = item;
}
{
// remember to delete it later
index = item;
}
- else if ( m_selections[item] > n )
+ else if ( m_selections[item] > (int)n )
{
// to account for the index shift
m_selections[item]--;
{
// to account for the index shift
m_selections[item]--;
m_updateScrollbarY = true;
// finally, if the longest item was deleted the scrollbar may disappear
m_updateScrollbarY = true;
// finally, if the longest item was deleted the scrollbar may disappear
- if ( n == m_maxWidthItem )
+ if ( (int)n == m_maxWidthItem )
{
RefreshHorzScrollbar();
}
{
RefreshHorzScrollbar();
}
action = wxACTION_LISTBOX_PAGEUP;
break;
case WXK_PAGEDOWN:
action = wxACTION_LISTBOX_PAGEUP;
break;
case WXK_PAGEDOWN:
action = wxACTION_LISTBOX_PAGEDOWN;
break;
action = wxACTION_LISTBOX_PAGEDOWN;
break;