From c08ef5f984fe785b6e13df204046b455489f8810 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 1 Jun 2017 23:57:09 +0100 Subject: make windows frontend use corewindow API for local history window --- frontends/windows/drawable.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'frontends/windows/drawable.c') diff --git a/frontends/windows/drawable.c b/frontends/windows/drawable.c index 4540b1293..28a76cfe8 100644 --- a/frontends/windows/drawable.c +++ b/frontends/windows/drawable.c @@ -38,7 +38,7 @@ #include "windows/windbg.h" #include "windows/plot.h" #include "windows/window.h" -#include "windows/localhistory.h" +#include "windows/local_history.h" #include "windows/drawable.h" static const char windowclassname_drawable[] = "nswsdrawablewindow"; @@ -415,7 +415,7 @@ nsws_drawable_mousedown(struct gui_window *gw, if ((gw == NULL) || (gw->mouse == NULL) || (gw->bw == NULL)) { - nsws_localhistory_close(gw); + nsw32_local_history_hide(); return 0; } @@ -532,9 +532,8 @@ nsws_window_drawable_event_callback(HWND hwnd, GET_Y_LPARAM(lparam), BROWSER_MOUSE_PRESS_1); SetFocus(hwnd); - nsws_localhistory_close(gw); + nsw32_local_history_hide(); return 0; - break; case WM_RBUTTONDOWN: nsws_drawable_mousedown(gw, -- cgit v1.2.3