diff options
| author | Manolo Gouy <Manolo> | 2015-08-11 12:00:49 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2015-08-11 12:00:49 +0000 |
| commit | 9bedf7ab8ffa0e6ca314d01e298d74d62cb106a3 (patch) | |
| tree | 59f121d9689a3be5120a37b8e47d153241690465 | |
| parent | 1e6bc1c73aa2a080aa0b50525d4edac1e80f7861 (diff) | |
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
| -rw-r--r-- | src/Fl_Window.cxx | 10 |
1 files 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 |
