1///////////////////////////////////////////////////////////////////////////// 2// Name: src/gtk/data.cpp 3// Purpose: Various global GTK-specific data 4// Author: Robert Roebling 5// Id: $Id: data.cpp 39348 2006-05-26 16:12:31Z PC $ 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 */ 19wxCursor g_globalCursor; 20 21/* Don't allow event propagation during drag */ 22bool g_blockEventsOnDrag = false; 23 24/* Don't allow mouse event propagation during scroll */ 25bool g_blockEventsOnScroll = false; 26 27/* Don't allow window closing if there are open dialogs */ 28int 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 */ 32bool g_isIdle = false; 33