diff options
Diffstat (limited to 'windows/gui.c')
-rw-r--r-- | windows/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/gui.c b/windows/gui.c index 860f35eeb..d2a1bff75 100644 --- a/windows/gui.c +++ b/windows/gui.c @@ -728,7 +728,7 @@ nsws_drawable_paint(struct gui_window *gw, HWND hwnd) (gw->bw != NULL) && (gw->bw->current_content != NULL)) { /* set globals for the plotters */ - current_hwnd = gw->drawingarea; + current_hwnd = hwnd; current_gui = gw; content_redraw(gw->bw->current_content, |