// busy cursor routines
//-----------------------------------------------------------------------------
-extern wxCursor g_globalCursor;
+/* Current cursor, in order to hang on to
+ * cursor handle when setting the cursor globally */
+wxCursor g_globalCursor;
static wxCursor gs_savedCursor;
static int gs_busyCount = 0;
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
-
-#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;
-
-/* Don't allow mouse event propagation during scroll */
-bool g_blockEventsOnScroll = false;
-
-/* Don't allow window closing if there are open dialogs */
-int g_openDialogs = 0;
// global data
//-----------------------------------------------------------------------------
-extern int g_openDialogs;
+// Don't allow window closing if there are open dialogs
+int g_openDialogs;
//-----------------------------------------------------------------------------
// wxDialog
// data
//-----------------------------------------------------------------------------
-extern bool g_blockEventsOnDrag;
-extern bool g_blockEventsOnScroll;
+// Don't allow event propagation during drag
+bool g_blockEventsOnDrag;
+// Don't allow mouse event propagation during scroll
+bool g_blockEventsOnScroll;
extern wxCursor g_globalCursor;
// mouse capture state: the window which has it and if the mouse is currently