Commit 0b287713 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_scroll_bar_move): Call my_show_window.

(x_scroll_bar_clear): Likewise.
parent b6823b27
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment