mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-26 04:51:06 +00:00
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:
parent
43a41c50fc
commit
9323d15e47
1 changed files with 4 additions and 1 deletions
|
@ -43,20 +43,23 @@
|
||||||
#import "GSGuiPrivate.h"
|
#import "GSGuiPrivate.h"
|
||||||
|
|
||||||
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
|
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
|
||||||
|
|
||||||
#include <unicode/uchar.h>
|
#include <unicode/uchar.h>
|
||||||
#include <unicode/ustring.h>
|
#include <unicode/ustring.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
@implementation NSApplication (CharacterPanel)
|
@implementation NSApplication (CharacterPanel)
|
||||||
|
|
||||||
- (void) orderFrontCharacterPalette: (id)sender
|
- (void) orderFrontCharacterPalette: (id)sender
|
||||||
{
|
{
|
||||||
|
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
|
||||||
[[GSCharacterPanel sharedCharacterPanel] orderFront: sender];
|
[[GSCharacterPanel sharedCharacterPanel] orderFront: sender];
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
|
#if defined(HAVE_UNICODE_UCHAR_H) && defined(HAVE_UNICODE_USTRING_H)
|
||||||
|
|
||||||
@interface GSVerticallyCenteredTextFieldCell : NSTextFieldCell
|
@interface GSVerticallyCenteredTextFieldCell : NSTextFieldCell
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue