]> git.saurik.com Git - wxWidgets.git/commitdiff
off-by-one fix
authorRobin Dunn <robin@alldunn.com>
Tue, 28 Sep 2004 19:49:00 +0000 (19:49 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 28 Sep 2004 19:49:00 +0000 (19:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/gizmos/wxCode/src/treelistctrl.cpp

index ad47a548e279d9686e0303acc473919a48f4057f..260d264ff70d3dc5a56440408020d1c3d4c9c6b9 100644 (file)
@@ -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);
     }