X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f3cf14a9057b3ddd6a8f8fc025e4edc3d2bb0f5b..58ce18f2fdadecffb21e27555115af708325cf18:/include/wx/aui/auibar.h?ds=sidebyside diff --git a/include/wx/aui/auibar.h b/include/wx/aui/auibar.h index 51533b8e7f..9b26529e0e 100644 --- a/include/wx/aui/auibar.h +++ b/include/wx/aui/auibar.h @@ -616,6 +616,7 @@ protected: // handlers void OnMiddleUp(wxMouseEvent& evt); void OnMotion(wxMouseEvent& evt); void OnLeaveWindow(wxMouseEvent& evt); + void OnCaptureLost(wxMouseCaptureLostEvent& evt); void OnSetCursor(wxSetCursorEvent& evt); protected: @@ -657,6 +658,10 @@ protected: wxSize m_horzHintSize; wxSize m_vertHintSize; +private: + // Common part of OnLeaveWindow() and OnCaptureLost(). + void DoResetMouseState(); + DECLARE_EVENT_TABLE() DECLARE_CLASS(wxAuiToolBar) };