]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | ///////////////////////////////////////////////////////////////////////////// |
93763ad5 | 2 | // Name: src/gtk1/data.cpp |
6a76384f | 3 | // Purpose: Various global GTK-specific data |
c801d85f | 4 | // Author: Robert Roebling |
dbf858b5 | 5 | // Copyright: (c) 1998 Robert Roebling |
65571936 | 6 | // Licence: wxWindows licence |
c801d85f KB |
7 | ///////////////////////////////////////////////////////////////////////////// |
8 | ||
14f355c2 VS |
9 | // For compilers that support precompilation, includes "wx.h". |
10 | #include "wx/wxprec.h" | |
11 | ||
8e3f3880 WS |
12 | #ifndef WX_PRECOMP |
13 | #include "wx/object.h" | |
cdccdfab | 14 | #include "wx/window.h" |
da80ae71 | 15 | #include "wx/dc.h" |
c8326d64 | 16 | #include "wx/cursor.h" |
8e3f3880 WS |
17 | #endif |
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 */ |
93763ad5 | 24 | bool g_blockEventsOnDrag = false; |
c801d85f | 25 | |
83624f79 | 26 | /* Don't allow mouse event propagation during scroll */ |
93763ad5 | 27 | bool g_blockEventsOnScroll = false; |
76ed8f8d | 28 | |
2d68e1b4 RR |
29 | /* Don't allow window closing if there are open dialogs */ |
30 | int g_openDialogs = 0; | |
31 | ||
93763ad5 WS |
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; |