]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | ///////////////////////////////////////////////////////////////////////////// |
93763ad5 | 2 | // Name: src/gtk/data.cpp |
6a76384f | 3 | // Purpose: Various global GTK-specific data |
c801d85f | 4 | // Author: Robert Roebling |
dbf858b5 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
65571936 | 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 | ||
8e3f3880 | 13 | #ifndef WX_PRECOMP |
c8326d64 | 14 | #include "wx/cursor.h" |
8e3f3880 WS |
15 | #endif |
16 | ||
83624f79 RR |
17 | /* Current cursor, in order to hang on to |
18 | * cursor handle when setting the cursor globally */ | |
238d735d | 19 | wxCursor g_globalCursor; |
c801d85f | 20 | |
83624f79 | 21 | /* Don't allow event propagation during drag */ |
93763ad5 | 22 | bool g_blockEventsOnDrag = false; |
c801d85f | 23 | |
83624f79 | 24 | /* Don't allow mouse event propagation during scroll */ |
93763ad5 | 25 | bool g_blockEventsOnScroll = false; |
76ed8f8d | 26 | |
2d68e1b4 RR |
27 | /* Don't allow window closing if there are open dialogs */ |
28 | int g_openDialogs = 0; | |
29 | ||
93763ad5 WS |
30 | /* true when the message queue is empty. this gets set to |
31 | false by all event callbacks before anything else is done */ | |
32 | bool g_isIdle = false; |