use live header button update when resizing, no XOR line

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-08-21 11:59:52 +00:00
parent a4c721ee38
commit b46ea7825d

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 )