mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:10:52 +00:00
Removed [showHelp:] and [activateContextHelpMode:] as they are
implemented in NSHelpManager.m. Use [showHelp:] in old method []. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10656 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
603d8d45ca
commit
d7698f89e9
1 changed files with 3 additions and 17 deletions
|
@ -72,7 +72,7 @@
|
|||
#include <AppKit/DPSOperators.h>
|
||||
#include <AppKit/NSPageLayout.h>
|
||||
#include <AppKit/NSDataLinkPanel.h>
|
||||
#include <AppKit/NSHelpPanel.h>
|
||||
#include <AppKit/NSHelpManager.h>
|
||||
|
||||
|
||||
/*
|
||||
|
@ -1656,22 +1656,8 @@ IF_NO_GC(NSAssert([event retainCount] > 0, NSInternalInconsistencyException));
|
|||
|
||||
- (void) orderFrontHelpPanel: sender
|
||||
{
|
||||
NSHelpPanel *helpPanel = [NSHelpPanel sharedHelpPanel];
|
||||
|
||||
if (helpPanel)
|
||||
[helpPanel orderFront: nil];
|
||||
else
|
||||
NSBeep();
|
||||
}
|
||||
|
||||
- (void)showHelp:(id)sender
|
||||
{
|
||||
[self orderFrontHelpPanel: sender];
|
||||
}
|
||||
|
||||
- (void)activateContextHelpMode:(id)sender
|
||||
{
|
||||
// TODO
|
||||
// This is implemented in NSHelpManager.m
|
||||
[self showHelp: sender];
|
||||
}
|
||||
|
||||
- (void) runPageLayout: sender
|
||||
|
|
Loading…
Reference in a new issue