git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48281
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxListHeaderWindow::DrawCurrent()
{
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 );
int x1 = m_currentX;
int y1 = 0;
m_owner->ClientToScreen( &x1, &y1 );
dc.SetPen( wxNullPen );
dc.SetBrush( wxNullBrush );
dc.SetPen( wxNullPen );
dc.SetBrush( wxNullBrush );
}
void wxListHeaderWindow::OnMouse( wxMouseEvent &event )
}
void wxListHeaderWindow::OnMouse( wxMouseEvent &event )