git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45848
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// busy cursor routines
//-----------------------------------------------------------------------------
// 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;
static wxCursor gs_savedCursor;
static int gs_busyCount = 0;
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// 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
//-----------------------------------------------------------------------------
// global data
//-----------------------------------------------------------------------------
-extern int g_openDialogs;
+// Don't allow window closing if there are open dialogs
+int g_openDialogs;
//-----------------------------------------------------------------------------
// wxDialog
//-----------------------------------------------------------------------------
// wxDialog
// data
//-----------------------------------------------------------------------------
// 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
extern wxCursor g_globalCursor;
// mouse capture state: the window which has it and if the mouse is currently