summaryrefslogtreecommitdiff
path: root/src/Fl_cocoa.mm
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-19 16:59:59 +0000
committerManolo Gouy <Manolo>2016-09-19 16:59:59 +0000
commitc06374378f212f8fe55b7bc08603871be5502aa2 (patch)
treef52c0b7daad2fc0be8b1c86b03ed26f011a9be05 /src/Fl_cocoa.mm
parent3c0b74b2843c5c945953e2965f573aa036050c43 (diff)
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
Diffstat (limited to 'src/Fl_cocoa.mm')
-rw-r--r--src/Fl_cocoa.mm3
1 files changed, 2 insertions, 1 deletions
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];