Commits

Anonymous committed ea6c38e

Sheet controller - made ivars public

Comments (0)

Files changed (2)

 
 @interface BWSheetController : NSObject
 {
-	IBOutlet NSWindow *sheet;
-	IBOutlet NSWindow *parentWindow;
-	IBOutlet id delegate;
+	NSWindow *sheet;
+	NSWindow *parentWindow;
+	id delegate;
 }
 
+@property (nonatomic, retain) IBOutlet NSWindow *sheet, *parentWindow;
+@property (nonatomic, retain) IBOutlet id delegate;
+
 - (IBAction)openSheet:(id)sender;
 - (IBAction)closeSheet:(id)sender;
 - (IBAction)messageDelegateAndCloseSheet:(id)sender;
 
 @implementation BWSheetController
 
+@synthesize parentWindow, sheet, delegate;
+
 - (void)awakeFromNib
 {
 	// Hack so the sheet doesn't appear at launch in Cocoa Simulator (or in the actual app if "Visible at Launch" is checked)