From 6700db86ea0c14d8eee5b8a81ddd6e96b0832ea6 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 5 May 2010 15:17:06 +0200 Subject: JAWT Windows Fix: Use the JAWT window handle entry [to return it] --- make/stub_includes/jni/win32/jawt_md.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'make/stub_includes/jni/win32/jawt_md.h') diff --git a/make/stub_includes/jni/win32/jawt_md.h b/make/stub_includes/jni/win32/jawt_md.h index ebfc66afe..2e1fa52f5 100755 --- a/make/stub_includes/jni/win32/jawt_md.h +++ b/make/stub_includes/jni/win32/jawt_md.h @@ -21,11 +21,14 @@ extern "C" { */ typedef struct jawt_Win32DrawingSurfaceInfo { /* Native window, DDB, or DIB handle */ + /** union { HWND hwnd; HBITMAP hbitmap; void* pbits; - }; + }; */ + HWND handle; + /* * This HDC should always be used instead of the HDC returned from * BeginPaint() or any calls to GetDC(). -- cgit v1.2.3