mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 21:00:47 +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
8946a56bfc
commit
19524684e8
2 changed files with 17 additions and 0 deletions
|
@ -31,10 +31,15 @@
|
||||||
#ifndef _GNUstep_H_NSHelpPanel
|
#ifndef _GNUstep_H_NSHelpPanel
|
||||||
#define _GNUstep_H_NSHelpPanel
|
#define _GNUstep_H_NSHelpPanel
|
||||||
|
|
||||||
|
#include <AppKit/NSApplication.h>
|
||||||
#include <AppKit/NSPanel.h>
|
#include <AppKit/NSPanel.h>
|
||||||
|
|
||||||
@class NSString;
|
@class NSString;
|
||||||
|
|
||||||
|
@interface NSApplication (NSHelpPanel)
|
||||||
|
- (void) orderFrontHelpPanel: (id)sender;
|
||||||
|
@end
|
||||||
|
|
||||||
@interface NSHelpPanel : NSPanel <NSCoding>
|
@interface NSHelpPanel : NSPanel <NSCoding>
|
||||||
{
|
{
|
||||||
// Attributes
|
// Attributes
|
||||||
|
|
|
@ -25,6 +25,18 @@
|
||||||
|
|
||||||
#include <gnustep/gui/config.h>
|
#include <gnustep/gui/config.h>
|
||||||
#include <AppKit/NSHelpPanel.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
|
@implementation NSHelpPanel
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue