X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/94633ad9f171fefbe96b7cde1aa0a29090e627bc..e1146627e2bf16a48554e1c224f427dbd6247c5d:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index b84b83dd60..905327ad1a 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -887,8 +887,8 @@ protected: virtual wxHitTest DoHitTest(wxCoord x, wxCoord y) const; // capture/release the mouse, used by Capture/ReleaseMouse() - virtual void DoCaptureMouse(); - virtual void DoReleaseMouse(); + virtual void DoCaptureMouse() = 0; + virtual void DoReleaseMouse() = 0; // retrieve the position/size of the window virtual void DoGetPosition( int *x, int *y ) const = 0; @@ -932,6 +932,9 @@ private: // contains the last id generated by NewControlId static int ms_lastControlId; + // the stack of windows which have captured the mouse + static struct WXDLLEXPORT wxWindowNext *ms_winCaptureNext; + DECLARE_ABSTRACT_CLASS(wxWindowBase) DECLARE_NO_COPY_CLASS(wxWindowBase) DECLARE_EVENT_TABLE()