Author: manolo
Date: 2011-05-07 06:45:42 -0700 (Sat, 07 May 2011)
New Revision: 8642
Log:
Restoring correct keyboard handling under Mac OS X 10.5.

Modified:
   branches/branch-1.3/src/Fl_cocoa.mm

Modified: branches/branch-1.3/src/Fl_cocoa.mm
===================================================================
--- branches/branch-1.3/src/Fl_cocoa.mm 2011-05-07 07:15:39 UTC (rev 8641)
+++ branches/branch-1.3/src/Fl_cocoa.mm 2011-05-07 13:45:42 UTC (rev 8642)
@@ -827,7 +827,7 @@
 }
 
 @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 @@
 }
 - (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}};

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to