Moved the method [NSApplication orderFrontHelpPanel:] to here.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14402 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2002-09-06 00:33:31 +00:00
parent 893f70929d
commit ba63a0123b
2 changed files with 17 additions and 0 deletions

View file

@ -31,10 +31,15 @@
#ifndef _GNUstep_H_NSHelpPanel
#define _GNUstep_H_NSHelpPanel
#include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h>
@class NSString;
@interface NSApplication (NSHelpPanel)
- (void) orderFrontHelpPanel: (id)sender;
@end
@interface NSHelpPanel : NSPanel <NSCoding>
{
// Attributes

View file

@ -25,6 +25,18 @@
#include <gnustep/gui/config.h>
#include <AppKit/NSHelpPanel.h>
#include <AppKit/NSHelpManager.h>
@implementation NSApplication (NSHelpPanel)
- (void) orderFrontHelpPanel: sender
{
// This is implemented in NSHelpManager.m
[self showHelp: sender];
}
@end
@implementation NSHelpPanel