From 84e7ab5d8406dc072b4ed84cdcb49486868e14c8 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Thu, 21 Jul 2005 18:24:33 +0000 Subject: 74095 --- .../Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java | 8 ++++---- .../Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java index 93b582b5c1..b56c83ea91 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java @@ -125,12 +125,12 @@ public static Frame new_Frame (final Composite parent) { Object value = null; Constructor constructor = null; try { - constructor = clazz.getConstructor (new Class [] {int.class}); - value = constructor.newInstance (new Object [] {new Integer ((int)/*64*/handle)}); + constructor = clazz.getConstructor (new Class [] {int.class, boolean.class}); + value = constructor.newInstance (new Object [] {new Integer ((int)/*64*/handle), Boolean.TRUE}); } catch (Throwable e1) { try { - constructor = clazz.getConstructor (new Class [] {long.class}); - value = constructor.newInstance (new Object [] {new Long (handle)}); + constructor = clazz.getConstructor (new Class [] {long.class, boolean.class}); + value = constructor.newInstance (new Object [] {new Long (handle), Boolean.TRUE}); } catch (Throwable e2) { SWT.error (SWT.ERROR_NOT_IMPLEMENTED, e2); } diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java b/bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java index c46e9b30fc..4575c5a3a2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java @@ -125,12 +125,12 @@ public static Frame new_Frame (final Composite parent) { Object value = null; Constructor constructor = null; try { - constructor = clazz.getConstructor (new Class [] {int.class}); - value = constructor.newInstance (new Object [] {new Integer ((int)/*64*/handle)}); + constructor = clazz.getConstructor (new Class [] {int.class, boolean.class}); + value = constructor.newInstance (new Object [] {new Integer ((int)/*64*/handle), Boolean.TRUE}); } catch (Throwable e1) { try { - constructor = clazz.getConstructor (new Class [] {long.class}); - value = constructor.newInstance (new Object [] {new Long (handle)}); + constructor = clazz.getConstructor (new Class [] {long.class, boolean.class}); + value = constructor.newInstance (new Object [] {new Long (handle), Boolean.TRUE}); } catch (Throwable e2) { SWT.error (SWT.ERROR_NOT_IMPLEMENTED, e2); } -- cgit