]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't pretend to be a GtkTreeView where it isn't required
authorRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 23:40:48 +0000 (23:40 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 23:40:48 +0000 (23:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/renderer.cpp
src/gtk/win_gtk.cpp

index ce6cc046e05d72f93f9582fc242cac052f180735..177fb31036db1249cb1c2b91f82ce53007bc29c3 100644 (file)
@@ -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,
index 4d7f2d5b64cfea3ffe2d11981b8d783dfc32dcb5..8fb91683eb15931d46ccd08637be0f019e21bfde 100644 (file)
@@ -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"