fix for MSVC see sf bug 1669419

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2007-02-28 08:48:11 +00:00
parent 8b31a4a3dc
commit 914e69451f

View File

@@ -1004,7 +1004,7 @@ wxDataViewHeaderWindowMSW::~wxDataViewHeaderWindow()
void wxDataViewHeaderWindowMSW::UpdateDisplay() void wxDataViewHeaderWindowMSW::UpdateDisplay()
{ {
// remove old columns // 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); Header_DeleteItem((HWND)m_hWnd, 0);
// add the updated array of columns to the header control // add the updated array of columns to the header control