summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2009-09-12 22:21:04 -0700
committerSven Gothel <[email protected]>2009-09-12 22:21:04 -0700
commitfa2e6727aaf8d3eb1bc42698f69decc86eaecc44 (patch)
treeaa2e39e5a4dfafbe8b8c7ec5c278526853315261 /src/newt/classes/com
parent3ddb06e50c0f841f2f66fb93e1ec41cddd50895e (diff)
Newt: MacOSX child clipping tests (failed)
Diffstat (limited to 'src/newt/classes/com')
-rwxr-xr-xsrc/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java b/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java
index 277aec796..9f501ac9b 100755
--- a/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java
+++ b/src/newt/classes/com/sun/javafx/newt/macosx/MacWindow.java
@@ -555,7 +555,7 @@ public class MacWindow extends Window {
}
if(0!=windowHandle) {
// save the view .. close the window
- surfaceHandle = changeContentView(windowHandle, 0);
+ surfaceHandle = changeContentView(parentWindowHandle, windowHandle, 0);
if(recreate && 0==surfaceHandle) {
throw new NativeWindowException("Internal Error - recreate, window but no view");
}
@@ -594,7 +594,7 @@ public class MacWindow extends Window {
private native void close0(long window);
private native void setTitle0(long window, String title);
private native long contentView(long window);
- private native long changeContentView(long window, long view);
+ private native long changeContentView(long parentWindowHandle, long window, long view);
private native void setContentSize(long window, int w, int h);
private native void setFrameTopLeftPoint(long parentWindowHandle, long window, int x, int y);
}