]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/data.cpp
Include wx/list.h according to precompiled headers of wx/wx.h (with other minor clean...
[wxWidgets.git] / src / mgl / data.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/mgl/data.cpp
3 // Purpose: wxMGL-specific global 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 #ifdef __BORLANDC__
14 #pragma hdrstop
15 #endif
16
17 #include "wx/cursor.h"
18
19 /* Current cursor, in order to hang on to
20 * cursor handle when setting the cursor globally */
21 wxCursor g_globalCursor;
22
23 /* Don't allow event propagation during drag */
24 bool g_blockEventsOnDrag = false;
25
26 /* Don't allow mouse event propagation during scroll */
27 bool g_blockEventsOnScroll = false;
28
29 /* Don't allow window closing if there are open dialogs */
30 int g_openDialogs = 0;
31
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;