Made toolbars sticky, i.e. you need to drag them

several (and not just one) pixels away from the
    docking area to make them undock/float. This
    removes some more toolbar jumping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-08-27 15:19:39 +00:00
parent e5e0c72763
commit c3008402f7
2 changed files with 31 additions and 5 deletions

View File

@@ -555,6 +555,8 @@ protected:
wxDockUIPart* m_action_part; // ptr to the part the action happened to
wxWindow* m_action_window; // action frame or window (NULL if none)
wxRect m_action_hintrect; // hint rectangle for the action
bool m_skipping;
wxRect m_last_rect;
wxDockUIPart* m_hover_button;// button uipart being hovered over
wxRect m_last_hint; // last hint rectangle
wxPoint m_last_mouse_move; // last mouse move position (see OnMotion)