]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/aui/auibar.h
Restore text drag-and-drop in wxSTC broken by Scintilla 2 update.
[wxWidgets.git] / include / wx / aui / auibar.h
index b02d405e4e8134ae8486cf3f37d841d647b2730b..9b26529e0e3bc1ae75ee45ddf0d3624184d84707 100644 (file)
@@ -20,8 +20,8 @@
 #include "wx/sizer.h"
 #include "wx/pen.h"
 
-//class WXDLLIMPEXP_FWD_CORE wxSizerItem;
-class wxAuiPaneInfo;
+class WXDLLIMPEXP_FWD_CORE wxClientDC;
+class WXDLLIMPEXP_FWD_AUI wxAuiPaneInfo;
 
 enum wxAuiToolBarStyle
 {
@@ -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)
 };