No changes, just move mouse capturing bookkeeping data out of wxWindow.
All mouse capture-related data doesn't have to be declared in wxWindow itself and can just be global in wincmn.cpp, so move it there, this will facilitate further changes as they won't require recompiling everything any more. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1830,15 +1830,6 @@ private:
|
||||
// base for dialog unit conversion, i.e. average character size
|
||||
wxSize GetDlgUnitBase() const;
|
||||
|
||||
// the stack of windows which have captured the mouse
|
||||
static struct WXDLLIMPEXP_FWD_CORE wxWindowNext *ms_winCaptureNext;
|
||||
|
||||
// the window that currently has mouse capture
|
||||
static wxWindow *ms_winCaptureCurrent;
|
||||
|
||||
// indicates if execution is inside CaptureMouse/ReleaseMouse
|
||||
static bool ms_winCaptureChanging;
|
||||
|
||||
|
||||
// number of Freeze() calls minus the number of Thaw() calls: we're frozen
|
||||
// (i.e. not being updated) if it is positive
|
||||
|
Reference in New Issue
Block a user