diff options
author | Sven Gothel <[email protected]> | 2009-09-12 12:32:44 -0700 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-09-12 12:32:44 -0700 |
commit | 3cc7335e94df9daaab5250487b9f03e19aaa292a (patch) | |
tree | 942e6dd5d8bac2499c49c3e9b9910f8b84b5ed42 /src/newt/native/WindowsWindow.c | |
parent | f6541cee3b33bd6ad5a94e89d860b4431cf2a353 (diff) |
NEWT: Basic/Naive window parenting support ; NEWT GLWindow: remove ambigous create functions, ie with Window and Capabilities arguments
Diffstat (limited to 'src/newt/native/WindowsWindow.c')
-rwxr-xr-x | src/newt/native/WindowsWindow.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/newt/native/WindowsWindow.c b/src/newt/native/WindowsWindow.c index edc3f0796..a171f34b2 100755 --- a/src/newt/native/WindowsWindow.c +++ b/src/newt/native/WindowsWindow.c @@ -1032,10 +1032,10 @@ JNIEXPORT jboolean JNICALL Java_com_sun_javafx_newt_windows_WindowsWindow_initID /* * Class: com_sun_javafx_newt_windows_WindowsWindow * Method: CreateWindow - * Signature: (ILjava/lang/String;JJZIIII)J + * Signature: (JILjava/lang/String;JJZIIII)J */ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_windows_WindowsWindow_CreateWindow - (JNIEnv *env, jobject obj, jint wndClassAtom, jstring jWndName, jlong hInstance, jlong visualID, + (JNIEnv *env, jobject obj, jlong parent, jint wndClassAtom, jstring jWndName, jlong hInstance, jlong visualID, jboolean bIsUndecorated, jint jx, jint jy, jint defaultWidth, jint defaultHeight) { @@ -1063,7 +1063,7 @@ JNIEXPORT jlong JNICALL Java_com_sun_javafx_newt_windows_WindowsWindow_CreateWin window = CreateWindow(MAKEINTATOM(wndClassAtom), wndName, windowStyle, x, y, width, height, - NULL, NULL, + (HWND)parent, NULL, (HINSTANCE) hInstance, NULL); |