mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 12:00:52 +00:00
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:
parent
893f70929d
commit
ba63a0123b
2 changed files with 17 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue