off-by-one fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2004-09-28 19:49:00 +00:00
parent ec865862e4
commit d22956def7

View File

@ -1294,7 +1294,7 @@ void wxTreeListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
{ {
//DoDrawRect( &dc, x, HEADER_OFFSET_Y, more_w, h-2 ); //DoDrawRect( &dc, x, HEADER_OFFSET_Y, more_w, h-2 );
wxRendererNative::Get().DrawHeaderButton( wxRendererNative::Get().DrawHeaderButton(
this, dc, wxRect(x, HEADER_OFFSET_Y, more_w, h-3), this, dc, wxRect(x, HEADER_OFFSET_Y, more_w, h-2),
m_parent->IsEnabled() ? 0 : wxCONTROL_DISABLED); m_parent->IsEnabled() ? 0 : wxCONTROL_DISABLED);
} }