aboutsummaryrefslogtreecommitdiff
path: root/src/macosx/native/sun/awt/CFileDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macosx/native/sun/awt/CFileDialog.h')
-rw-r--r--src/macosx/native/sun/awt/CFileDialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/macosx/native/sun/awt/CFileDialog.h b/src/macosx/native/sun/awt/CFileDialog.h
index ba435113ee..1843c41e82 100644
--- a/src/macosx/native/sun/awt/CFileDialog.h
+++ b/src/macosx/native/sun/awt/CFileDialog.h
@@ -27,6 +27,8 @@
#import <JavaNativeFoundation/JavaNativeFoundation.h>
@interface CFileDialog : NSObject <NSOpenSavePanelDelegate> {
+ NSWindow* fOwner;
+
// Should we query back to Java for a file filter?
jboolean fHasFileFilter;
@@ -60,7 +62,8 @@
}
// Allocator
-- (id) initWithFilter:(jboolean)inHasFilter
+- (id) initWithOwner:(NSWindow*) owner
+ filter:(jboolean)inHasFilter
fileDialog:(jobject)inDialog
title:(NSString *)inTitle
directory:(NSString *)inPath