summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/demos/GLNewtRun.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/demos/GLNewtRun.java b/src/demos/GLNewtRun.java
index a1b22e3..c981012 100755
--- a/src/demos/GLNewtRun.java
+++ b/src/demos/GLNewtRun.java
@@ -219,7 +219,7 @@ public class GLNewtRun implements WindowListener, KeyListener, MouseListener {
parent.setPosition(x_p, y_p);
parent.setSize(width+width/10, height+height/10);
parent.setVisible(true);
- nWindow = NewtFactory.createWindow(parent.getWindowHandle(), nScreen, caps, undecorated);
+ nWindow = NewtFactory.createWindow(parent, nScreen, caps);
} else {
nWindow = NewtFactory.createWindow(nScreen, caps, undecorated);
}