]> git.saurik.com Git - wxWidgets.git/blame - src/mgl/data.cpp
Add another test for the insertion point position after SetValue().
[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
c8326d64
WS
17#ifndef WX_PRECOMP
18 #include "wx/cursor.h"
19#endif
32b8ec41
VZ
20
21/* Current cursor, in order to hang on to
22 * cursor handle when setting the cursor globally */
23wxCursor g_globalCursor;
24
25/* Don't allow event propagation during drag */
127eab18 26bool g_blockEventsOnDrag = false;
32b8ec41
VZ
27
28/* Don't allow mouse event propagation during scroll */
127eab18 29bool g_blockEventsOnScroll = false;
32b8ec41
VZ
30
31/* Don't allow window closing if there are open dialogs */
32int g_openDialogs = 0;
33
127eab18
WS
34/* true when the message queue is empty. this gets set to
35 false by all event callbacks before anything else is done */
36bool g_isIdle = false;