From 9bedf7ab8ffa0e6ca314d01e298d74d62cb106a3 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 11 Aug 2015 12:00:49 +0000 Subject: More accurate documentation of Fl_Window::wait_for_expose() for Mac OS. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10829 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 134d886de..dcab9dd62 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -413,10 +413,12 @@ void Fl_Window::free_icons() { matter, but in some cases you may want to have the window instantiated and displayed synchronously. - Currently (as of FLTK 1.3.3) this method only has an effect on X11. - On Windows and Mac OS X show() is always synchronous. If you want to - write portable code and need this synchronous show() feature, add - win->wait_for_expose() on all platforms, and FLTK will just do the + Currently (as of FLTK 1.3.4) this method has an effect on X11 and Mac OS. + On Windows, show() is always synchronous. The effect of show() varies with + versions of Mac OS X: early versions have the window appear on the screen + when show() returns, later versions don't. + If you want to write portable code and need this synchronous show() feature, + add win->wait_for_expose() on all platforms, and FLTK will just do the right thing. This method can be used for displaying splash screens before -- cgit v1.2.3