]>
git.saurik.com Git - wxWidgets.git/blob - src/mgl/data.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   3 // Purpose:     wxMGL-specific global data 
   4 // Author:      Robert Roebling 
   6 // Copyright:   (c) 1998 Robert Roebling 
   7 // Licence:     wxWindows licence 
   8 ///////////////////////////////////////////////////////////////////////////// 
  11 #include "wx/cursor.h" 
  13 /* Current cursor, in order to hang on to 
  14  * cursor handle when setting the cursor globally */ 
  15 wxCursor g_globalCursor
; 
  17 /* Don't allow event propagation during drag */ 
  18 bool g_blockEventsOnDrag 
= FALSE
; 
  20 /* Don't allow mouse event propagation during scroll */ 
  21 bool g_blockEventsOnScroll 
= FALSE
; 
  23 /* Don't allow window closing if there are open dialogs */ 
  24 int g_openDialogs 
= 0; 
  26 /* TRUE when the message queue is empty. this gets set to 
  27    FALSE by all event callbacks before anything else is done */ 
  28 bool g_isIdle 
= FALSE
;