summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-09-20 12:58:51 +0000
committerManolo Gouy <Manolo>2016-09-20 12:58:51 +0000
commit827fa250f3bfd0c9dc68d1483ae3c41b144adfee (patch)
tree551e41cb7891db8c0317f10bb21ffc80a000695f /src/Fl_win32.cxx
parentc06374378f212f8fe55b7bc08603871be5502aa2 (diff)
Remove fl_wait() that is not part of the public API.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11953 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 62ee46c2d..5bd64165f 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -369,10 +369,10 @@ static void process_awake_handler_requests(void) {
// This is never called with time_to_wait < 0.0.
// It *should* return negative on error, 0 if nothing happens before
-// timeout, and >0 if any callbacks were done. This version only
-// returns zero if nothing happens during a 0.0 timeout, otherwise
-// it returns 1.
-int fl_wait(double time_to_wait) {
+// timeout, and >0 if any callbacks were done. This version
+// always returns 1.
+double Fl_WinAPI_Screen_Driver::wait(double time_to_wait) {
+
int have_message = 0;
Fl::run_checks();
@@ -477,7 +477,7 @@ int fl_wait(double time_to_wait) {
return 1;
}
-// just like fl_wait(0.0) except no callbacks are done:
+// just like Fl_WinAPI_Screen_Driver::wait(0.0) except no callbacks are done:
int Fl_WinAPI_Screen_Driver::ready() {
if (PeekMessage(&fl_msg, NULL, 0, 0, PM_NOREMOVE)) return 1;
if (!nfds) return 0;