Mercurial > emacs
view lwlib/lwlib-utils.h @ 109772:7ce174214df2
Fix for bug#5629: Use unicode message box if available.
* w32menu.c (simple_dialog_show): Use unicode message box if available.
(MessageBoxW_Proc): New function typedef.
(unicode-message-box): New function pointer.
(globals_of_w32menu): Import it from user32.dll.
author | Jason Rumney <jasonr@wanchan> |
---|---|
date | Fri, 13 Aug 2010 22:54:32 +0800 |
parents | e16f43875a48 |
children | ef719132ddfa |
line wrap: on
line source
#ifndef _LWLIB_UTILS_H_ #define _LWLIB_UTILS_H_ void XtNoClearRefreshWidget (Widget); typedef void (*XtApplyToWidgetsProc) (Widget, XtPointer); typedef void* (*XtApplyUntilToWidgetsProc) (Widget, XtPointer); void XtApplyToWidgets (Widget, XtApplyToWidgetsProc, XtPointer); void *XtApplyUntilToWidgets (Widget, XtApplyUntilToWidgetsProc, XtPointer); Widget *XtCompositeChildren (Widget, unsigned int *); /* returns True is the widget is being destroyed, False otherwise */ Boolean XtWidgetBeingDestroyedP (Widget widget); void XtSafelyDestroyWidget (Widget); #endif /* _LWLIB_UTILS_H_ */ /* arch-tag: 705efd86-9319-4447-80f6-16aa5b349809 (do not change this comment) */