From ec865862e4d26be16fd4a8b5261e9931c5e7998f Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 28 Sep 2004 19:24:58 +0000 Subject: [PATCH] Corrected compile warnings, took out debug printf git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp index 8aef1b7cba..ad47a548e2 100644 --- a/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp +++ b/wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp @@ -4629,10 +4629,10 @@ void wxTreeListCtrl::CalculateAndSetHeaderHeight() h += d + 2 * HEADER_OFFSET_Y + EXTRA_HEIGHT; // only update if changed - if ( h != m_headerHeight ) + if ( h != (int)m_headerHeight ) { - m_headerHeight = h; - //m_header_win->SetSize(m_header_win->GetSize().x, m_headerHeight); + m_headerHeight = (size_t)h; + m_header_win->SetSize(m_header_win->GetSize().x, m_headerHeight); } } } @@ -4642,7 +4642,6 @@ void wxTreeListCtrl::OnSize(wxSizeEvent& WXUNUSED(event)) { int w, h; GetClientSize(&w, &h); - printf("%d (%d, %d)\n", m_headerHeight, w, h); if (m_header_win) m_header_win->SetSize(0, 0, w, m_headerHeight); if (m_main_win)