diff options
| author | Manolo Gouy <Manolo> | 2010-12-01 23:12:06 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-12-01 23:12:06 +0000 |
| commit | 17963c0475565be7019d73e3fc68cb8ee089e198 (patch) | |
| tree | ba088d52babd54b0e9b6da859522a09edefb2e52 /src/Fl_cocoa.mm | |
| parent | 2f8b7e47c2e3b2e3ecabd0711e8daf735f32f09d (diff) | |
Fix STR #2462.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7935 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 96f65329f..6d2cf6b5b 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -614,7 +614,6 @@ static void do_timer(CFRunLoopTimerRef timer, void* data) - (BOOL)windowShouldClose:(FLWindow *)w; - (BOOL)containsGLsubwindow; - (void)setContainsGLsubwindow:(BOOL)contains; -- (BOOL)canBecomeKeyWindow; @end @implementation FLWindow @@ -651,16 +650,6 @@ static void do_timer(CFRunLoopTimerRef timer, void* data) { containsGLsubwindow = contains; } -- (BOOL)canBecomeKeyWindow -{ - // before 10.5, the default impl of canBecomeKeyWindow is not OK for tooltip windows - // we return YES for these windows - BOOL retval; - Fl_Window *flw = (Fl_Window*)[self getFl_Window]; - if(fl_mac_os_version < 0x1050 && flw->tooltip_window()) retval = YES; - else retval = [super canBecomeKeyWindow]; - return retval; -} @end /* @@ -1666,6 +1655,7 @@ static void q_set_window_title(NSWindow *nsw, const char * name ) { - (void)mouseDown:(NSEvent *)theEvent; - (void)rightMouseDown:(NSEvent *)theEvent; - (void)otherMouseDown:(NSEvent *)theEvent; +- (void)mouseMoved:(NSEvent *)theEvent; - (void)mouseDragged:(NSEvent *)theEvent; - (void)rightMouseDragged:(NSEvent *)theEvent; - (void)otherMouseDragged:(NSEvent *)theEvent; |
