]> git.saurik.com Git - wxWidgets.git/blob - src/gtk/data.cpp
Fix compilo under MINGW32
[wxWidgets.git] / src / gtk / data.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/gtk/data.cpp
3 // Purpose: Various global GTK-specific data
4 // Author: Robert Roebling
5 // Id: $Id$
6 // Copyright: (c) 1998 Robert Roebling
7 // Licence: wxWindows licence
8 /////////////////////////////////////////////////////////////////////////////
9
10 // For compilers that support precompilation, includes "wx.h".
11 #include "wx/wxprec.h"
12
13 #ifndef WX_PRECOMP
14 #include "wx/cursor.h"
15 #endif
16
17 /* Current cursor, in order to hang on to
18 * cursor handle when setting the cursor globally */
19 wxCursor g_globalCursor;
20
21 /* Don't allow event propagation during drag */
22 bool g_blockEventsOnDrag = false;
23
24 /* Don't allow mouse event propagation during scroll */
25 bool g_blockEventsOnScroll = false;
26
27 /* Don't allow window closing if there are open dialogs */
28 int g_openDialogs = 0;
29
30 /* true when the message queue is empty. this gets set to
31 false by all event callbacks before anything else is done */
32 bool g_isIdle = false;