* GormCore/GormDocument.m: Use setDocument: method in awakeFromNib.

* GormCore/GormDocumentWindow.h: Add setDocument: method.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@24180 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2006-12-04 00:35:31 +00:00
parent 4a03adccea
commit c86b0ada46
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-12-03 19:34-EST Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormDocument.m: Use setDocument: method in awakeFromNib.
* GormCore/GormDocumentWindow.h: Add setDocument: method.
2006-12-02 Matt Rice <ratmice@gmail.com>
* Palettes/0Menus/GormMenuEditor.m (-mouseDown:): Call

View file

@ -52,6 +52,7 @@
#include "GormObjectEditor.h"
#include "GormWrapperBuilder.h"
#include "GormWrapperLoader.h"
#include "GormDocumentWindow.h"
@interface GormDisplayCell : NSButtonCell
@end
@ -335,7 +336,7 @@ static NSImage *fileImage = nil;
window = [self _docWindow];
[IBResourceManager registerForAllPboardTypes:window
inDocument:self];
[window setDocument:self];
[(GormDocumentWindow *)window setDocument:self];
// set up the toolbar...
toolbar = [(NSToolbar *)[NSToolbar alloc] initWithIdentifier: @"GormToolbar"];

View file

@ -30,7 +30,7 @@
id _document;
IBResourceManager *dragMgr;
}
- (void) setDocument:(id)document;
@end
#define __INCLUDED_GormDocumentWindow_h