move definitions from src/gtk/data.cpp to other appropriate places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -379,7 +379,9 @@ GdkCursor *wxCursor::GetCursor() const
|
|||||||
// 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 wxCursor gs_savedCursor;
|
||||||
static int gs_busyCount = 0;
|
static int gs_busyCount = 0;
|
||||||
|
@@ -9,20 +9,3 @@
|
|||||||
|
|
||||||
// For compilers that support precompilation, includes "wx.h".
|
// For compilers that support precompilation, includes "wx.h".
|
||||||
#include "wx/wxprec.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;
|
|
||||||
|
@@ -30,7 +30,8 @@
|
|||||||
// global data
|
// global data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern int g_openDialogs;
|
// Don't allow window closing if there are open dialogs
|
||||||
|
int g_openDialogs;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// wxDialog
|
// wxDialog
|
||||||
|
@@ -190,8 +190,10 @@
|
|||||||
// data
|
// data
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
extern bool g_blockEventsOnDrag;
|
// Don't allow event propagation during drag
|
||||||
extern bool g_blockEventsOnScroll;
|
bool g_blockEventsOnDrag;
|
||||||
|
// Don't allow mouse event propagation during scroll
|
||||||
|
bool g_blockEventsOnScroll;
|
||||||
extern wxCursor g_globalCursor;
|
extern wxCursor g_globalCursor;
|
||||||
|
|
||||||
// mouse capture state: the window which has it and if the mouse is currently
|
// mouse capture state: the window which has it and if the mouse is currently
|
||||||
|
Reference in New Issue
Block a user