Correct calculation of sticky toolbar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-08-27 15:45:12 +00:00
parent 1e7373d0d3
commit 97d483e41a

View File

@@ -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().