From c06374378f212f8fe55b7bc08603871be5502aa2 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Mon, 19 Sep 2016 16:59:59 +0000 Subject: Remove fl_ready() not in public API and mostly same as Fl_XXX_Screen_Driver::ready() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11951 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_cocoa.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Fl_cocoa.mm') diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 136752c4b..c317ef6fa 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -450,7 +450,8 @@ void Fl_Darwin_System_Driver::remove_fd(int n) /* * Check if there is actually a message pending */ -int fl_ready() +int Fl_Cocoa_Screen_Driver::ready() + { NSEvent *retval = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate dateWithTimeIntervalSinceNow:0] inMode:NSDefaultRunLoopMode dequeue:NO]; -- cgit v1.2.3