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:
parent
ec865862e4
commit
d22956def7
@ -1294,7 +1294,7 @@ void wxTreeListHeaderWindow::OnPaint( wxPaintEvent &WXUNUSED(event) )
|
||||
{
|
||||
//DoDrawRect( &dc, x, HEADER_OFFSET_Y, more_w, h-2 );
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user