aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-05-05 15:17:06 +0200
committerSven Gothel <[email protected]>2010-05-05 15:17:06 +0200
commit6700db86ea0c14d8eee5b8a81ddd6e96b0832ea6 (patch)
treeaae74a559bc63527fccca1fdbc8fda6dca4e341e /make/stub_includes
parent574a772703531da2854a566662af9c8b8f9770fe (diff)
JAWT Windows Fix: Use the JAWT window handle entry [to return it]
Diffstat (limited to 'make/stub_includes')
-rwxr-xr-xmake/stub_includes/jni/win32/jawt_md.h5
1 files changed, 4 insertions, 1 deletions
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().