]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/data.cpp
wx/wxprec.h already includes wx/defs.h (with other minor cleaning).
[wxWidgets.git] / src / gtk1 / data.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/gtk1/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 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
12
13 #include "wx/object.h"
14 #include "wx/window.h"
15 #include "wx/dc.h"
16 #include "wx/cursor.h"
17
18 /* Current cursor, in order to hang on to
19 * cursor handle when setting the cursor globally */
20 wxCursor g_globalCursor;
21
22 /* Don't allow event propagation during drag */
23 bool g_blockEventsOnDrag = false;
24
25 /* Don't allow mouse event propagation during scroll */
26 bool g_blockEventsOnScroll = false;
27
28 /* Don't allow window closing if there are open dialogs */
29 int g_openDialogs = 0;
30
31 /* true when the message queue is empty. this gets set to
32 false by all event callbacks before anything else is done */
33 bool g_isIdle = false;