diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2012-10-04 13:53:15 -0400 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-04 22:25:27 +0300 |
commit | 3fdc19a025bdb1d1c9714427e7323556f1c5dd33 (patch) | |
tree | 878dc1e3e55e146f7f52e4741b5f9a28216b5e33 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | |
parent | 9004816c0eded49a87ffaf370b4fefa4dbb6d38b (diff) | |
download | eclipse.platform.swt-3fdc19a025bdb1d1c9714427e7323556f1c5dd33.tar.gz eclipse.platform.swt-3fdc19a025bdb1d1c9714427e7323556f1c5dd33.tar.xz eclipse.platform.swt-3fdc19a025bdb1d1c9714427e7323556f1c5dd33.zip |
Use gtk_render_frame instead of gtk_paint_flat_box for GTK+ 3 and higher.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java index 956f423d70..f078527b24 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java @@ -2630,7 +2630,7 @@ long /*int*/ rendererRenderProc (long /*int*/ cell, long /*int*/ window, long /* long /*int*/ style = OS.gtk_widget_get_style (widget); //TODO - parity and sorted byte[] detail = Converter.wcsToMbcs (null, "cell_odd", true); - OS.gtk_paint_flat_box (style, window, OS.GTK_STATE_SELECTED, OS.GTK_SHADOW_NONE, rect, widget, detail, rect.x, rect.y, rect.width, rect.height); + gtk_render_frame (style, window, OS.GTK_STATE_SELECTED, OS.GTK_SHADOW_NONE, rect, widget, detail, rect.x, rect.y, rect.width, rect.height); } else { if (wasSelected) drawForeground = gc.getForeground ().handle; } |