aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-12 22:24:28 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-12 22:24:28 +0000
commitf1a40894ed254f3c18f1343536ab7c71fe4da491 (patch)
treebff8e905f0757abd0edb742830da25baaac19e01 /simple_dialog.h
parent292adeffb34e8fd441cbd17c43cb226269a40b9a (diff)
The HIG's and/or GUI toolkit documentation for:
Mac OS X GNOME Qt KDE Windows all indicate that {message,alert} boxes are modal, at least for the window to which they apply. (Presumably the idea is that not forcing the user to pay attention to the alert box, and allowing more than one alert box to be up for a given window, causes more problems than not letting the user do stuff to that window in order to figure out what the underlying problem is or figure out what to do to fix it - the message should be sufficient, in most if not all cases, to let you know what the problem is.) Make "simple_dialog()" unconditionally make the alert box modal, and get rid of ESD_TYPE_MODAL. XXX - we need to make it possible to make an alert box modal for a given window, rather than just the top-level window. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10051 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'simple_dialog.h')
-rw-r--r--simple_dialog.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/simple_dialog.h b/simple_dialog.h
index 3b44d5f6d9..e729aab654 100644
--- a/simple_dialog.h
+++ b/simple_dialog.h
@@ -2,7 +2,7 @@
* Definitions for alert box routines with toolkit-independent APIs but
* toolkit-dependent implementations.
*
- * $Id: simple_dialog.h,v 1.10 2004/02/11 03:55:47 guy Exp $
+ * $Id: simple_dialog.h,v 1.11 2004/02/12 22:24:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -47,10 +47,6 @@ extern "C" {
#define ESD_TYPE_CONFIRMATION 0x02
#define ESD_TYPE_ERROR 0x03
-/* Flag to be ORed with the dialog type, to specify that the dialog is
- to be modal. */
-#define ESD_TYPE_MODAL 0x10
-
/* Which buttons to display. */
#define ESD_BTN_OK 0x01
#define ESD_BTN_CANCEL 0x02