]> git.saurik.com Git - wxWidgets.git/blame - src/gtk1/data.cpp
finding papersizes allows for 1 mm tolerance
[wxWidgets.git] / src / gtk1 / data.cpp
CommitLineData
c801d85f 1/////////////////////////////////////////////////////////////////////////////
6a76384f
VZ
2// Name: gtk/data.cpp
3// Purpose: Various global GTK-specific data
c801d85f 4// Author: Robert Roebling
dbf858b5
RR
5// Id: $Id$
6// Copyright: (c) 1998 Robert Roebling
a3622daa 7// Licence: wxWindows licence
c801d85f
KB
8/////////////////////////////////////////////////////////////////////////////
9
bcf1fa6b
RR
10#include "wx/defs.h"
11#include "wx/object.h"
12#include "wx/window.h"
13#include "wx/dc.h"
6a76384f 14#include "wx/cursor.h"
c801d85f 15
83624f79
RR
16/* Current cursor, in order to hang on to
17 * cursor handle when setting the cursor globally */
238d735d 18wxCursor g_globalCursor;
c801d85f 19
83624f79 20/* Don't allow event propagation during drag */
c801d85f
KB
21bool g_blockEventsOnDrag = FALSE;
22
83624f79 23/* Don't allow mouse event propagation during scroll */
76ed8f8d
RR
24bool g_blockEventsOnScroll = FALSE;
25
2d68e1b4
RR
26/* Don't allow window closing if there are open dialogs */
27int g_openDialogs = 0;
28
acfd422a
RR
29/* TRUE when the message queue is empty. this gets set to
30 FALSE by all event callbacks before anything else is done */
31bool g_isIdle = FALSE;
32