]>
git.saurik.com Git - wxWidgets.git/blob - src/gtk/data.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        src/gtk/data.cpp 
   3 // Purpose:     Various global GTK-specific data 
   4 // Author:      Robert Roebling 
   6 // Copyright:   (c) 1998 Robert Roebling 
   7 // Licence:     wxWindows licence 
   8 ///////////////////////////////////////////////////////////////////////////// 
  10 // For compilers that support precompilation, includes "wx.h". 
  11 #include "wx/wxprec.h" 
  14     #include "wx/cursor.h" 
  17 /* Current cursor, in order to hang on to 
  18  * cursor handle when setting the cursor globally */ 
  19 wxCursor g_globalCursor
; 
  21 /* Don't allow event propagation during drag */ 
  22 bool g_blockEventsOnDrag 
= false; 
  24 /* Don't allow mouse event propagation during scroll */ 
  25 bool g_blockEventsOnScroll 
= false; 
  27 /* Don't allow window closing if there are open dialogs */ 
  28 int g_openDialogs 
= 0; 
  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;