Compile in orderFrontCharacterPalette: and do nothing instead of not compiling in and throwing a run-time exception

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35897 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Marcian Lytwyn 2012-12-16 00:06:56 +00:00
parent 43a41c50fc
commit 9323d15e47

View file

@ -43,20 +43,23 @@
#import "GSGuiPrivate.h"
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
#include <unicode/uchar.h>
#include <unicode/ustring.h>
#endif
@implementation NSApplication (CharacterPanel)
- (void) orderFrontCharacterPalette: (id)sender
{
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
[[GSCharacterPanel sharedCharacterPanel] orderFront: sender];
#endif
}
@end
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
@interface GSVerticallyCenteredTextFieldCell : NSTextFieldCell
{