summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-05-10 20:35:50 +0000
committerRichard M. Stallman <rms@gnu.org>1996-05-10 20:35:50 +0000
commit0b287713ac4a062da2c5ce19d51879a2e631698d (patch)
tree468a3e17435944c227405ba08a9d9f637235e7f7
parentb6823b27409c2fe7802a86ec100ef2094e93dfe0 (diff)
downloademacs-0b287713ac4a062da2c5ce19d51879a2e631698d.tar.gz
emacs-0b287713ac4a062da2c5ce19d51879a2e631698d.tar.bz2
emacs-0b287713ac4a062da2c5ce19d51879a2e631698d.zip
(x_scroll_bar_move): Call my_show_window.
(x_scroll_bar_clear): Likewise.
-rw-r--r--src/w32term.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 3f214a53472..a067830a42a 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1945,6 +1945,7 @@ x_scroll_bar_move (bar, top, left, width, height)
MoveWindow (w, left, top, width, height, TRUE);
SetScrollRange (w, SB_CTL, 0, height, FALSE);
InvalidateRect (w, NULL, FALSE);
+ my_show_window (w, SW_NORMAL);
XSETINT (bar->left, left);
XSETINT (bar->top, top);
@@ -2273,6 +2274,7 @@ x_scroll_bar_clear (f)
HDC hdc = GetDC (window);
RECT rect;
+ my_show_window (window, SW_HIDE);
GetClientRect (window, &rect);
select_palette (f, hdc);
win32_clear_rect (f, hdc, &rect);