]>
Commit | Line | Data |
---|---|---|
32b8ec41 | 1 | ///////////////////////////////////////////////////////////////////////////// |
6a76384f VZ |
2 | // Name: mgl/data.cpp |
3 | // Purpose: wxMGL-specific global data | |
32b8ec41 VZ |
4 | // Author: Robert Roebling |
5 | // Id: $Id$ | |
6 | // Copyright: (c) 1998 Robert Roebling | |
65571936 | 7 | // Licence: wxWindows licence |
32b8ec41 VZ |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
32b8ec41 | 10 | #include "wx/defs.h" |
6a76384f | 11 | #include "wx/cursor.h" |
32b8ec41 VZ |
12 | |
13 | /* Current cursor, in order to hang on to | |
14 | * cursor handle when setting the cursor globally */ | |
15 | wxCursor g_globalCursor; | |
16 | ||
17 | /* Don't allow event propagation during drag */ | |
18 | bool g_blockEventsOnDrag = FALSE; | |
19 | ||
20 | /* Don't allow mouse event propagation during scroll */ | |
21 | bool g_blockEventsOnScroll = FALSE; | |
22 | ||
23 | /* Don't allow window closing if there are open dialogs */ | |
24 | int g_openDialogs = 0; | |
25 | ||
26 | /* TRUE when the message queue is empty. this gets set to | |
27 | FALSE by all event callbacks before anything else is done */ | |
28 | bool g_isIdle = FALSE; | |
29 |