diff options
| author | Manolo Gouy <Manolo> | 2011-05-07 13:45:42 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-05-07 13:45:42 +0000 |
| commit | 80ea4bcde6f2f5a767e4fb0ef9d26fcea18be5d8 (patch) | |
| tree | d905fa60d71423a4946399330492f5c79e1bf81e | |
| parent | f9a2d65bb36acfa81174b5644b70475f09a10579 (diff) | |
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
| -rw-r--r-- | src/Fl_cocoa.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 4896cf127..b4dc04316 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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}}; |
