Index: src/ch/ProgressListBox.cpp =================================================================== diff -u -N -r8068e0c351055554340ac9755d1bc846893bf2b8 -rb26ced3298e3e7e51d91f3ac70b56746786da83b --- src/ch/ProgressListBox.cpp (.../ProgressListBox.cpp) (revision 8068e0c351055554340ac9755d1bc846893bf2b8) +++ src/ch/ProgressListBox.cpp (.../ProgressListBox.cpp) (revision b26ced3298e3e7e51d91f3ac70b56746786da83b) @@ -229,9 +229,9 @@ return FALSE/*CListBox::OnEraseBkgnd(pDC)*/; } -int CProgressListBox::SetCurSel(int nSelect) +int CProgressListBox::SetCurrentSelection(int nSelect) { - int nResult=static_cast(this)->SetCurSel(nSelect); + int nResult=SetCurSel(nSelect); if (nSelect == -1) GetParent()->SendMessage(WM_COMMAND, (LBN_SELCANCEL << 16) | GetDlgCtrlID(), reinterpret_cast(this->m_hWnd)); @@ -240,7 +240,7 @@ void CProgressListBox::OnKillfocus() { - SetCurSel(-1); + SetCurrentSelection(-1); } void CProgressListBox::SetSmoothProgress(bool bSmoothProgress)