git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44580
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxDataViewHeaderWindowMSW::UpdateDisplay()
{
// remove old columns
void wxDataViewHeaderWindowMSW::UpdateDisplay()
{
// remove old columns
- for (int i=0, max=Header_GetItemCount((HWND)m_hWnd); i < max; i++)
+ for (int j=0, max=Header_GetItemCount((HWND)m_hWnd); j < max; j++)
Header_DeleteItem((HWND)m_hWnd, 0);
// add the updated array of columns to the header control
Header_DeleteItem((HWND)m_hWnd, 0);
// add the updated array of columns to the header control