Restoring correct keyboard handling under Mac OS X 10.5.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
f9a2d65bb3
commit
80ea4bcde6
@ -827,7 +827,7 @@ static void cocoaMouseHandler(NSEvent *theEvent)
|
||||
}
|
||||
|
||||
@interface FLTextView : NSTextView
|
||||
// this subclass is needed under OS X <= 10.4 but not under >= 10.5 where the base class is enough
|
||||
// this subclass is needed under OS X <= 10.5 but not under >= 10.6 where the base class is enough
|
||||
{
|
||||
}
|
||||
@end
|
||||
@ -1215,7 +1215,7 @@ extern "C" {
|
||||
}
|
||||
- (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)client
|
||||
{
|
||||
if (fl_mac_os_version < 100500) {
|
||||
if (fl_mac_os_version < 100600) {
|
||||
static FLTextView *view = nil;
|
||||
if (!view) {
|
||||
NSRect rect={{0,0},{20,20}};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user