aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index c3d147841b6..b5f87ebb42c 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -186,6 +186,11 @@ task_dialog_callback (HWND hwnd, UINT msg, WPARAM wParam,
186Lisp_Object 186Lisp_Object
187w32_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) 187w32_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents)
188{ 188{
189#ifdef NTGUI_UNICODE
190 typedef int (WINAPI *WideCharToMultiByte_Proc)(UINT,DWORD,LPCWSTR,int,LPSTR,
191 int,LPCSTR,LPBOOL);
192 static MultiByteToWideChar_Proc pMultiByteToWideChar = MultiByteToWideChar;
193#endif /* NTGUI_UNICODE */
189 check_window_system (f); 194 check_window_system (f);
190 195
191 if (task_dialog_indirect) 196 if (task_dialog_indirect)