]> git.saurik.com Git - wxWidgets.git/commitdiff
Correct calculation of sticky toolbar.
authorRobert Roebling <robert@roebling.de>
Sun, 27 Aug 2006 15:45:12 +0000 (15:45 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 27 Aug 2006 15:45:12 +0000 (15:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index d5d67516755f8ef3f66f3698af90acad831bbf3e..4d42a2610bf422d4ad1db733ace751f0147ce456 100644 (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().