New magic number for positioning the tree triangle.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 2006-10-08 16:31:32 +00:00
parent 844b9f5fd2
commit 11012f4712

View File

@ -240,7 +240,7 @@ wxRendererGTK::DrawTreeItemButton(wxWindow* win,
NULL,
tree,
"treeview",
dc.LogicalToDeviceX(rect.x) + 2 - x_diff,
dc.LogicalToDeviceX(rect.x) + 6 - x_diff,
dc.LogicalToDeviceY(rect.y) + 3,
flags & wxCONTROL_EXPANDED ? GTK_EXPANDER_EXPANDED
: GTK_EXPANDER_COLLAPSED