mirror of https://github.com/fltk/fltk
Fixes bug entitled "Fl::event_text() omitted for keyups?" in fltk.development.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
b87078e02d
commit
965e81fc87
|
@ -1731,6 +1731,8 @@ static void q_set_window_title(NSWindow *nsw, const char * name, const char *mi
|
|||
Fl_Window *window = (Fl_Window*)[(FLWindow*)[theEvent window] getFl_Window];
|
||||
Fl::first_window(window);
|
||||
cocoaKeyboardHandler(theEvent);
|
||||
NSString *s = [theEvent characters];
|
||||
if ([s length] >= 1) [FLView prepareEtext:[s substringToIndex:1]];
|
||||
Fl::handle(FL_KEYUP,window);
|
||||
fl_unlock_function();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue