]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | ///////////////////////////////////////////////////////////////////////////// |
6a76384f VZ |
2 | // Name: gtk/data.cpp |
3 | // Purpose: Various global GTK-specific data | |
c801d85f | 4 | // Author: Robert Roebling |
dbf858b5 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
a3622daa | 7 | // Licence: wxWindows licence |
c801d85f KB |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
14f355c2 VS |
10 | // For compilers that support precompilation, includes "wx.h". |
11 | #include "wx/wxprec.h" | |
12 | ||
bcf1fa6b RR |
13 | #include "wx/defs.h" |
14 | #include "wx/object.h" | |
15 | #include "wx/window.h" | |
16 | #include "wx/dc.h" | |
6a76384f | 17 | #include "wx/cursor.h" |
c801d85f | 18 | |
83624f79 RR |
19 | /* Current cursor, in order to hang on to |
20 | * cursor handle when setting the cursor globally */ | |
238d735d | 21 | wxCursor g_globalCursor; |
c801d85f | 22 | |
83624f79 | 23 | /* Don't allow event propagation during drag */ |
c801d85f KB |
24 | bool g_blockEventsOnDrag = FALSE; |
25 | ||
83624f79 | 26 | /* Don't allow mouse event propagation during scroll */ |
76ed8f8d RR |
27 | bool g_blockEventsOnScroll = FALSE; |
28 | ||
2d68e1b4 RR |
29 | /* Don't allow window closing if there are open dialogs */ |
30 | int g_openDialogs = 0; | |
31 | ||
acfd422a RR |
32 | /* TRUE when the message queue is empty. this gets set to |
33 | FALSE by all event callbacks before anything else is done */ | |
34 | bool g_isIdle = FALSE; | |
35 |