may be resizing finally works now (I am not even sure any more)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-19 08:52:55 +00:00
parent e797f13aca
commit b09e1f2987

View File

@@ -1239,9 +1239,13 @@ void wxListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
int xEnd = x + wCol;
// VZ: no, draw it normally - this is better now as we allow resizing
// of the last column as well
#if 0
// let the last column occupy all available space
if ( i == numColumns - 1 )
cw = w-x-1;
#endif // 0
dc.SetPen( *wxWHITE_PEN );
@@ -1303,6 +1307,7 @@ void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
{
ReleaseMouse();
m_isDragging = FALSE;
m_dirty = TRUE;
m_owner->SetColumnWidth( m_column, m_currentX-m_minX );
}
else