From: Robert Roebling Date: Fri, 23 Jan 2009 23:40:48 +0000 (+0000) Subject: Don't pretend to be a GtkTreeView where it isn't required X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1c1e6b5b5069167bae289e9f92ff0dd3db546b61 Don't pretend to be a GtkTreeView where it isn't required git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/renderer.cpp b/src/gtk/renderer.cpp index ce6cc046e0..177fb31036 100644 --- a/src/gtk/renderer.cpp +++ b/src/gtk/renderer.cpp @@ -575,8 +575,7 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow* win, // 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. - // RR: I added that to the Pizza widget class. - "treeview", + "", dc.LogicalToDeviceX(rect.x), dc.LogicalToDeviceY(rect.y), rect.width, diff --git a/src/gtk/win_gtk.cpp b/src/gtk/win_gtk.cpp index 4d7f2d5b64..8fb91683eb 100644 --- a/src/gtk/win_gtk.cpp +++ b/src/gtk/win_gtk.cpp @@ -259,13 +259,6 @@ static void class_init(void* g_class, void*) G_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT); parent_class = GTK_WIDGET_CLASS(g_type_class_peek_parent(g_class)); - - gtk_widget_class_install_style_property (widget_class, - g_param_spec_boolean ("row-ending-details", - "Row Ending details", - "Enable extended row background theming", - FALSE, - G_PARAM_READABLE)); } } // extern "C"