summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2007-11-20 17:00:56 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2007-11-20 17:00:56 +0000
commitac3ab91ca2d5a9f02b55e8b5fa15f4bd6db0dc4d (patch)
tree46f57b6a3b614451af58cb302fcf3e4b1b8cbbdc /src
parent4da946c5dea2e6817e1236244968e9fad1d9f7cf (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
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 1 insertions, 1 deletions
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;