mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* 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:
parent
4a03adccea
commit
c86b0ada46
3 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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"];
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
id _document;
|
||||
IBResourceManager *dragMgr;
|
||||
}
|
||||
|
||||
- (void) setDocument:(id)document;
|
||||
@end
|
||||
|
||||
#define __INCLUDED_GormDocumentWindow_h
|
||||
|
|
Loading…
Reference in a new issue