Moved the method [NSApplication runPageLayout:] to here.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14404 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2002-09-06 00:34:26 +00:00
parent c996f959e8
commit 4f17c96dc2
2 changed files with 14 additions and 0 deletions

View file

@ -28,6 +28,7 @@
#ifndef _GNUstep_H_NSPageLayout
#define _GNUstep_H_NSPageLayout
#include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h>
@class NSPrintInfo;
@ -45,6 +46,10 @@ enum {
NSPLOKButton
};
@interface NSApplication (NSPageLayout)
- (void) runPageLayout: (id)sender;
@end
@interface NSPageLayout : NSPanel
{
NSSize _size;

View file

@ -49,6 +49,15 @@ static NSPageLayout *shared_instance;
#define CONTROL(panel, name) [[panel contentView] viewWithTag: name]
@implementation NSApplication (NSPageLayout)
- (void) runPageLayout: sender
{
[[NSPageLayout pageLayout] runModal];
}
@end
/**
<unit>
<heading>NSPageLayout</heading>