maintaint the mouse capture stack in all ports, not just wxUniv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -200,13 +200,6 @@ public:
|
||||
// we refresh the window when it is dis/enabled
|
||||
virtual bool Enable(bool enable = TRUE);
|
||||
|
||||
// our Capture/ReleaseMouse() maintains the stack of windows which had
|
||||
// captured the mouse and when ReleaseMouse() is called, the mouse freed
|
||||
// only if the stack is empty, otherwise it is captured back by the window
|
||||
// on top of the stack
|
||||
virtual void CaptureMouse();
|
||||
virtual void ReleaseMouse();
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
void Init();
|
||||
|
Reference in New Issue
Block a user