]> git.saurik.com Git - wxWidgets.git/blob - src/gtk1/data.cpp
Add entry for 2.8.0.1
[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 #ifndef WX_PRECOMP
14 #include "wx/object.h"
15 #include "wx/window.h"
16 #include "wx/dc.h"
17 #include "wx/cursor.h"
18 #endif
19
20 /* Current cursor, in order to hang on to
21 * cursor handle when setting the cursor globally */
22 wxCursor g_globalCursor;
23
24 /* Don't allow event propagation during drag */
25 bool g_blockEventsOnDrag = false;
26
27 /* Don't allow mouse event propagation during scroll */
28 bool g_blockEventsOnScroll = false;
29
30 /* Don't allow window closing if there are open dialogs */
31 int g_openDialogs = 0;
32
33 /* true when the message queue is empty. this gets set to
34 false by all event callbacks before anything else is done */
35 bool g_isIdle = false;