]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/data.cpp
fix off by one error in CharToString(); also simplified the conversion code a bit
[wxWidgets.git] / src / mgl / data.cpp
CommitLineData
32b8ec41 1/////////////////////////////////////////////////////////////////////////////
127eab18 2// Name: src/mgl/data.cpp
6a76384f 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
127eab18
WS
10// For compilers that support precompilation, includes "wx.h".
11#include "wx/wxprec.h"
12
13#ifdef __BORLANDC__
14 #pragma hdrstop
15#endif
16
6a76384f 17#include "wx/cursor.h"
32b8ec41
VZ
18
19/* Current cursor, in order to hang on to
20 * cursor handle when setting the cursor globally */
21wxCursor g_globalCursor;
22
23/* Don't allow event propagation during drag */
127eab18 24bool g_blockEventsOnDrag = false;
32b8ec41
VZ
25
26/* Don't allow mouse event propagation during scroll */
127eab18 27bool g_blockEventsOnScroll = false;
32b8ec41
VZ
28
29/* Don't allow window closing if there are open dialogs */
30int g_openDialogs = 0;
31
127eab18
WS
32/* true when the message queue is empty. this gets set to
33 false by all event callbacks before anything else is done */
34bool g_isIdle = false;