diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index c4ebe4f3de..e8919c02bf 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -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,