fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2008-07-28 05:49:04 +00:00
parent d6ba5a24d8
commit b65ce02c69

View File

@@ -638,7 +638,12 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow *win,
GTK_STATE_SELECTED,
NULL,
win->m_wxwindow,
"treeview",
// Detail "treeview" causes warning with GTK+ 2.12 Clearlooks theme:
// "... no property named `row-ending-details'"
// Using "treeview-middle" would fix the warning, but the right
// edge of the focus rect is not getting erased properly either.
// Better to not specify this detail unless the drawing is fixed.
NULL,
dc.LogicalToDeviceX(rect.x),
dc.LogicalToDeviceY(rect.y),
rect.width,