]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/data.cpp
extracted common initialization/cleanup functions in common/init.cpp; standardized...
[wxWidgets.git] / src / gtk1 / data.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: gtk/data.cpp
3 // Purpose: Various global GTK-specific data
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 #include "wx/defs.h"
11 #include "wx/object.h"
12 #include "wx/window.h"
13 #include "wx/dc.h"
14 #include "wx/cursor.h"
15
16 /* Current cursor, in order to hang on to
17 * cursor handle when setting the cursor globally */
18 wxCursor g_globalCursor;
19
20 /* Don't allow event propagation during drag */
21 bool g_blockEventsOnDrag = FALSE;
22
23 /* Don't allow mouse event propagation during scroll */
24 bool g_blockEventsOnScroll = FALSE;
25
26 /* Don't allow window closing if there are open dialogs */
27 int g_openDialogs = 0;
28
29 /* TRUE when the message queue is empty. this gets set to
30 FALSE by all event callbacks before anything else is done */
31 bool g_isIdle = FALSE;
32