use live header button update when resizing, no XOR line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-08-21 12:23:19 +00:00
parent 9a8c1ee977
commit 219d29fe36

View File

@@ -1906,6 +1906,9 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
void wxListHeaderWindow::DrawCurrent()
{
#if 1
m_owner->SetColumnWidth( m_column, m_currentX - m_minX );
#else
int x1 = m_currentX;
int y1 = 0;
m_owner->ClientToScreen( &x1, &y1 );
@@ -1928,6 +1931,7 @@ void wxListHeaderWindow::DrawCurrent()
dc.SetPen( wxNullPen );
dc.SetBrush( wxNullBrush );
#endif
}
void wxListHeaderWindow::OnMouse( wxMouseEvent &event )