summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
diff options
context:
space:
mode:
authorSilenio Quarti <silenio>2004-07-13 21:54:38 +0000
committerSilenio Quarti <silenio>2004-07-13 21:54:38 +0000
commitd29a9ac78b9ed6462de983f003a794010dc4bd5d (patch)
treecaf8bedb32f933ae17df1adb52b02e34a1df1dd1 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
parent3067534b6e68696307514fc033b4ad0b365d4b7f (diff)
downloadeclipse.platform.swt-d29a9ac78b9ed6462de983f003a794010dc4bd5d.tar.gz
eclipse.platform.swt-d29a9ac78b9ed6462de983f003a794010dc4bd5d.tar.xz
eclipse.platform.swt-d29a9ac78b9ed6462de983f003a794010dc4bd5d.zip
realize and map callbacks
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
index a54d161ffc..971a2ef527 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
@@ -132,13 +132,8 @@ void createHandle (int index) {
handle = OS.gtk_drawing_area_new ();
if (handle == 0) error (SWT.ERROR_NO_HANDLES);
OS.GTK_WIDGET_SET_FLAGS (handle, OS.GTK_CAN_FOCUS);
- int /*long*/ parentHandle = parent.parentingHandle ();
- OS.gtk_container_add (parentHandle, handle);
- OS.gtk_widget_show (handle);
int type = (style & SWT.VERTICAL) != 0 ? OS.GDK_SB_H_DOUBLE_ARROW : OS.GDK_SB_V_DOUBLE_ARROW;
defaultCursor = OS.gdk_cursor_new (type);
- int /*long*/ window = OS.GTK_WIDGET_WINDOW (handle);
- if (window != 0) OS.gdk_window_set_cursor (window, defaultCursor);
}
void drawBand (int x, int y, int width, int height) {