From: Robin Dunn Date: Tue, 28 Sep 2004 19:24:58 +0000 (+0000) Subject: Corrected compile warnings, took out debug printf X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ec865862e4d26be16fd4a8b5261e9931c5e7998f?ds=sidebyside;hp=8e3ca43b377fc5b5e0e1e0de67366878dc5eff5b Corrected compile warnings, took out debug printf git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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)