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:
@@ -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().
|
||||
|
Reference in New Issue
Block a user