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
This commit is contained in:
@@ -575,8 +575,7 @@ wxRendererGTK::DrawItemSelectionRect(wxWindow* win,
|
|||||||
// Using "treeview-middle" would fix the warning, but the right
|
// Using "treeview-middle" would fix the warning, but the right
|
||||||
// edge of the focus rect is not getting erased properly either.
|
// edge of the focus rect is not getting erased properly either.
|
||||||
// Better to not specify this detail unless the drawing is fixed.
|
// 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.LogicalToDeviceX(rect.x),
|
||||||
dc.LogicalToDeviceY(rect.y),
|
dc.LogicalToDeviceY(rect.y),
|
||||||
rect.width,
|
rect.width,
|
||||||
|
@@ -259,13 +259,6 @@ static void class_init(void* g_class, void*)
|
|||||||
G_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
G_TYPE_NONE, 2, GTK_TYPE_ADJUSTMENT, GTK_TYPE_ADJUSTMENT);
|
||||||
|
|
||||||
parent_class = GTK_WIDGET_CLASS(g_type_class_peek_parent(g_class));
|
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"
|
} // extern "C"
|
||||||
|
Reference in New Issue
Block a user