diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 2 |
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) | |||
| 1945 | MoveWindow (w, left, top, width, height, TRUE); | 1945 | MoveWindow (w, left, top, width, height, TRUE); |
| 1946 | SetScrollRange (w, SB_CTL, 0, height, FALSE); | 1946 | SetScrollRange (w, SB_CTL, 0, height, FALSE); |
| 1947 | InvalidateRect (w, NULL, FALSE); | 1947 | InvalidateRect (w, NULL, FALSE); |
| 1948 | my_show_window (w, SW_NORMAL); | ||
| 1948 | 1949 | ||
| 1949 | XSETINT (bar->left, left); | 1950 | XSETINT (bar->left, left); |
| 1950 | XSETINT (bar->top, top); | 1951 | XSETINT (bar->top, top); |
| @@ -2273,6 +2274,7 @@ x_scroll_bar_clear (f) | |||
| 2273 | HDC hdc = GetDC (window); | 2274 | HDC hdc = GetDC (window); |
| 2274 | RECT rect; | 2275 | RECT rect; |
| 2275 | 2276 | ||
| 2277 | my_show_window (window, SW_HIDE); | ||
| 2276 | GetClientRect (window, &rect); | 2278 | GetClientRect (window, &rect); |
| 2277 | select_palette (f, hdc); | 2279 | select_palette (f, hdc); |
| 2278 | win32_clear_rect (f, hdc, &rect); | 2280 | win32_clear_rect (f, hdc, &rect); |