X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e..e1b96d7e637cf76864013f8dba68135f07638ab8:/src/w32menu.c diff --git a/src/w32menu.c b/src/w32menu.c index 60ef6d2cfb..346402b7c6 100644 --- a/src/w32menu.c +++ b/src/w32menu.c @@ -140,8 +140,6 @@ otherwise it is "Question". */) FRAME_PTR f = NULL; Lisp_Object window; - check_w32 (); - /* Decode the first argument: find the window or frame to use. */ if (EQ (position, Qt) || (CONSP (position) && (EQ (XCAR (position), Qmenu_bar) @@ -194,6 +192,8 @@ otherwise it is "Question". */) but I don't want to make one now. */ CHECK_WINDOW (window); + check_window_system (f); + #ifndef HAVE_DIALOGS {