]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/data.cpp
Switch to wxCHECK so the bad code isn't still executed if the assert
[wxWidgets.git] / src / mgl / data.cpp
CommitLineData
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
7// Licence: wxWindows licence
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 */
15wxCursor g_globalCursor;
16
17/* Don't allow event propagation during drag */
18bool g_blockEventsOnDrag = FALSE;
19
20/* Don't allow mouse event propagation during scroll */
21bool g_blockEventsOnScroll = FALSE;
22
23/* Don't allow window closing if there are open dialogs */
24int 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 */
28bool g_isIdle = FALSE;
29