diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-11-20 17:00:56 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-11-20 17:00:56 +0000 |
| commit | ac3ab91ca2d5a9f02b55e8b5fa15f4bd6db0dc4d (patch) | |
| tree | 46f57b6a3b614451af58cb302fcf3e4b1b8cbbdc | |
| parent | 4da946c5dea2e6817e1236244968e9fad1d9f7cf (diff) | |
Fix window hide bug on WIN32 (STR #1748)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5984 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/Fl_win32.cxx | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ CHANGES IN FLTK 1.1.8 STR #1457, STR #1458, STR #1460, STR #1481, STR #1578, STR #1639, STR #1645, STR #1644, STR #1792, STR #1793, STR #1742, STR #1777) + - Hiding a nested window on WIN32 caused 100% CPU (STR #1748) - Changing the window size in FLUID would not mark the project as modified (STR #1751) - Fixed fl_filename_isdir for "/"-path (STR #1761) diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index a330b4dd0..243e82ed7 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -1118,7 +1118,7 @@ void Fl_Window::resize(int X,int Y,int W,int H) { } if (is_a_resize) { Fl_Group::resize(X,Y,W,H); - if (shown()) {redraw(); i->wait_for_expose = 1;} + if (visible_r()) {redraw(); i->wait_for_expose = 1;} } else { x(X); y(Y); flags |= SWP_NOSIZE; |
