make new window work

svn path=/trunk/netsurf/; revision=9953
This commit is contained in:
Vincent Sanders 2010-02-04 08:25:06 +00:00
parent 0eb9663b1c
commit 36a21bdae4

View File

@ -1135,8 +1135,11 @@ LRESULT CALLBACK nsws_window_event_callback(HWND hwnd, UINT msg, WPARAM wparam,
case NSWS_ID_FILE_OPEN_LOCATION:
SetFocus(w->urlbar);
break;
case NSWS_ID_FILE_OPEN_WINDOW:
browser_window_create(NULL, w->bw, NULL, false, false);
break;
case NSWS_ID_FILE_CLOSE_WINDOW:
PostMessage(hwnd, WM_CLOSE, 0, 0);
break;