X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..90f6792f530002cf3718b0ab0ce7727be1d21729:/src/mgl/data.cpp?ds=sidebyside diff --git a/src/mgl/data.cpp b/src/mgl/data.cpp index af3e072dde..ef34e4118d 100644 --- a/src/mgl/data.cpp +++ b/src/mgl/data.cpp @@ -1,29 +1,36 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mgl/data.cpp +// Name: src/mgl/data.cpp // Purpose: wxMGL-specific global data // Author: Robert Roebling // Id: $Id$ // Copyright: (c) 1998 Robert Roebling -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/defs.h" -#include "wx/cursor.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifdef __BORLANDC__ + #pragma hdrstop +#endif + +#ifndef WX_PRECOMP + #include "wx/cursor.h" +#endif /* Current cursor, in order to hang on to * cursor handle when setting the cursor globally */ wxCursor g_globalCursor; /* Don't allow event propagation during drag */ -bool g_blockEventsOnDrag = FALSE; +bool g_blockEventsOnDrag = false; /* Don't allow mouse event propagation during scroll */ -bool g_blockEventsOnScroll = FALSE; +bool g_blockEventsOnScroll = false; /* Don't allow window closing if there are open dialogs */ int g_openDialogs = 0; -/* TRUE when the message queue is empty. this gets set to - FALSE by all event callbacks before anything else is done */ -bool g_isIdle = FALSE; - +/* true when the message queue is empty. this gets set to + false by all event callbacks before anything else is done */ +bool g_isIdle = false;