Compile fix

svn path=/workspaces/wxListCtrl/; revision=15503
This commit is contained in:
Charlie Fenton 2008-06-27 04:38:31 +00:00
parent 51842fb4d6
commit 899a4c2c9b
2 changed files with 3 additions and 3 deletions

View File

@ -538,7 +538,7 @@ wxInt32 CViewProjects::AddCacheElement() {
wxASSERT(pItem);
if (pItem) {
m_ProjectCache.push_back(pItem);
m_iSortedIndexes.Add(m_ProjectCache.size()-1);
m_iSortedIndexes.Add((int)m_ProjectCache.size()-1);
return 0;
}
return -1;

View File

@ -82,7 +82,7 @@ BEGIN_EVENT_TABLE (CViewWork, CBOINCBaseView)
EVT_LIST_ITEM_SELECTED(ID_LIST_WORKVIEW, CViewWork::OnListSelected)
EVT_LIST_ITEM_DESELECTED(ID_LIST_WORKVIEW, CViewWork::OnListDeselected)
EVT_LIST_COL_CLICK(ID_LIST_WORKVIEW, CViewWork::OnColClick)
EVT_LIST_CACHE_HINT(ID_LIST_PROJECTSVIEW, CViewProjects::OnCacheHint)
EVT_LIST_CACHE_HINT(ID_LIST_PROJECTSVIEW, CViewWork::OnCacheHint)
END_EVENT_TABLE ()
@ -469,7 +469,7 @@ wxInt32 CViewWork::AddCacheElement() {
wxASSERT(pItem);
if (pItem) {
m_WorkCache.push_back(pItem);
m_iSortedIndexes.Add(m_WorkCache.size()-1);
m_iSortedIndexes.Add((int)m_WorkCache.size()-1);
return 0;
}
return -1;