]> git.saurik.com Git - wxWidgets.git/blob - src/mgl/data.cpp
calculating vis regions as rects (faster for Quartz) and caching the results for...
[wxWidgets.git] / src / mgl / data.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: 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 #include "wx/defs.h"
11 #include "wx/cursor.h"
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