From 7edf28529dad8d0619d10c27a480eeca7a896321 Mon Sep 17 00:00:00 2001 From: belugas Date: Thu, 6 Dec 2007 02:31:47 +0000 Subject: (svn r11578) -Codechange: Introduce the window default flag WDF_TEXTENTRY which specifies that the window holding it is actually one that enables an edit box. Use this flag when dispatching a key event instead of using some hard coded window IDs. This should ease a little bit the creation of new edit aware windows. --- src/window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/window.h') diff --git a/src/window.h b/src/window.h index e98d99d24..a84943d21 100644 --- a/src/window.h +++ b/src/window.h @@ -208,7 +208,7 @@ enum WindowDefaultFlag { WDF_STD_TOOLTIPS = 1 << 0, ///< use standard routine when displaying tooltips WDF_DEF_WIDGET = 1 << 1, ///< default widget control for some widgets in the on click event WDF_STD_BTN = 1 << 2, ///< default handling for close and drag widgets (widget no 0 and 1) - + WDF_TEXTENTRY = 1 << 3, ///< This window is authorized to receive keyboard events WDF_UNCLICK_BUTTONS = 1 << 4, ///< Unclick buttons when the window event times out */ WDF_STICKY_BUTTON = 1 << 5, ///< Set window to sticky mode; they are not closed unless closed with 'X' (widget 2) WDF_RESIZABLE = 1 << 6, ///< A window can be resized -- cgit v1.2.3-54-g00ecf