jdk/src/macosx/native/sun/awt/AWTWindow.h
changeset 19021 8a5340b88ee5
parent 14311 b2492ea8d08e
child 21282 1bef38644939
--- a/jdk/src/macosx/native/sun/awt/AWTWindow.h	Tue Jul 23 13:09:44 2013 +0400
+++ b/jdk/src/macosx/native/sun/awt/AWTWindow.h	Wed Jul 24 17:14:45 2013 +0400
@@ -44,6 +44,7 @@
     jint styleBits;
     BOOL isEnabled;
     NSWindow *nsWindow;
+    AWTWindow *ownerWindow;
 }
 
 // An instance of either AWTWindow_Normal or AWTWindow_Panel
@@ -51,12 +52,15 @@
 
 @property (nonatomic, retain) JNFWeakJObjectWrapper *javaPlatformWindow;
 @property (nonatomic, retain) CMenuBar *javaMenuBar;
+@property (nonatomic, retain) AWTWindow *ownerWindow;
 @property (nonatomic) NSSize javaMinSize;
 @property (nonatomic) NSSize javaMaxSize;
 @property (nonatomic) jint styleBits;
 @property (nonatomic) BOOL isEnabled;
 
+
 - (id) initWithPlatformWindow:(JNFWeakJObjectWrapper *)javaPlatformWindow
+                  ownerWindow:owner
                     styleBits:(jint)styleBits
                     frameRect:(NSRect)frameRect
                   contentView:(NSView *)contentView;