]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/data.cpp
fix off by one error in CharToString(); also simplified the conversion code a bit
[wxWidgets.git] / src / gtk1 / data.cpp
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
93763ad5 2// Name: src/gtk1/data.cpp
6a76384f 3// Purpose: Various global GTK-specific data
c801d85f 4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
65571936 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
14f355c2
VS
10// For compilers that support precompilation, includes "wx.h".
11#include "wx/wxprec.h"
12
bcf1fa6b
RR
13#include "wx/object.h"
14#include "wx/window.h"
15#include "wx/dc.h"
6a76384f 16#include "wx/cursor.h"
c801d85f 17
83624f79
RR
18/* Current cursor, in order to hang on to
19 * cursor handle when setting the cursor globally */
238d735d 20wxCursor g_globalCursor;
c801d85f 21
83624f79 22/* Don't allow event propagation during drag */
93763ad5 23bool g_blockEventsOnDrag = false;
c801d85f 24
83624f79 25/* Don't allow mouse event propagation during scroll */
93763ad5 26bool g_blockEventsOnScroll = false;
76ed8f8d 27
2d68e1b4
RR
28/* Don't allow window closing if there are open dialogs */
29int g_openDialogs = 0;
30
93763ad5
WS
31/* true when the message queue is empty. this gets set to
32 false by all event callbacks before anything else is done */
33bool g_isIdle = false;