Add new category to NSApplication with a method to order the font

panel front. This makes the standard font panel toolbar item work.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31413 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
wlux 2010-09-25 08:12:08 +00:00
parent eefcd4bb09
commit ce32b6e52f
2 changed files with 15 additions and 0 deletions

View file

@ -1192,3 +1192,12 @@ static Class fontPanelClass = Nil;
}
@end
@implementation NSApplication(NSFontPanel)
- (void) orderFrontFontPanel: (id)sender
{
[[NSFontManager sharedFontManager] orderFrontFontPanel: sender];
}
@end