]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/mgl/data.cpp
call wxApp::OnExceptionInMainLoop() when an exception occurs (refactored the change...
[wxWidgets.git] / src / mgl / data.cpp
... / ...
CommitLineData
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 */
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