]> git.saurik.com Git - wxWidgets.git/commitdiff
fix Gtk-WARNING "... no property named `row-ending-details'" (#4809)
authorPaul Cornett <paulcor@bullseye.com>
Mon, 28 Jul 2008 05:49:04 +0000 (05:49 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 28 Jul 2008 05:49:04 +0000 (05:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/renderer.cpp

index de54e0aea2559734b5c10479cb269251780b43c4..a8eb92b00734e525dc7f46c54276dc16c93206a5 100644 (file)
@@ -690,7 +690,12 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow *win,
                          state,
                          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,