X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6a76384f2d9d70e209cbbefb8e59906603250641..7760051f27b3f96f5dccd07c3509d27abefb0bc9:/src/gtk1/data.cpp diff --git a/src/gtk1/data.cpp b/src/gtk1/data.cpp index 791691b345..96193525eb 100644 --- a/src/gtk1/data.cpp +++ b/src/gtk1/data.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: gtk/data.cpp +// Name: src/gtk1/data.cpp // Purpose: Various global GTK-specific data // Author: Robert Roebling // Id: $Id$ @@ -7,8 +7,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#include "wx/defs.h" -#include "wx/object.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifndef WX_PRECOMP + #include "wx/object.h" +#endif + #include "wx/window.h" #include "wx/dc.h" #include "wx/cursor.h" @@ -18,15 +23,14 @@ 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;