diff options
author | Silenio Quarti <silenio> | 2005-07-21 18:24:33 +0000 |
---|---|---|
committer | Silenio Quarti <silenio> | 2005-07-21 18:24:33 +0000 |
commit | 84e7ab5d8406dc072b4ed84cdcb49486868e14c8 (patch) | |
tree | 81baf9c5da49ab1a68c890bc1e0b04343d7a685b | |
parent | 79f249e6821dd2816bfd44d809c01dd3261e64c4 (diff) | |
download | eclipse.platform.swt-84e7ab5d8406dc072b4ed84cdcb49486868e14c8.tar.gz eclipse.platform.swt-84e7ab5d8406dc072b4ed84cdcb49486868e14c8.tar.xz eclipse.platform.swt-84e7ab5d8406dc072b4ed84cdcb49486868e14c8.zip |
74095
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java | 8 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/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); } |