From: Robert Roebling Date: Sun, 27 Aug 2006 15:45:12 +0000 (+0000) Subject: Correct calculation of sticky toolbar. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/97d483e41ae6e9401b7d8e1195b0f74759b1cc0b Correct calculation of sticky toolbar. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index d5d6751675..4d42a2610b 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -2396,8 +2396,7 @@ bool wxFrameManager::DoDrop(wxDockInfoArray& docks, if (!m_skipping) { m_last_rect = part->dock->rect; - m_last_rect.Offset( -10, -10 ); - m_last_rect.Inflate( 20, 20 ); + m_last_rect.Inflate( 15, 15 ); } drop.Dock().