diff options
Diffstat (limited to 'src')
| -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}}; |
