]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed [ 1645203 ] Problem with resizing floating panes
authorJulian Smart <julian@anthemion.co.uk>
Tue, 21 Aug 2007 08:35:14 +0000 (08:35 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 21 Aug 2007 08:35:14 +0000 (08:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 93379c808761f993bb1cb651fa9b5adc476aca29..6fc592552e2ded7636f84193cde608ae9a4bf3af 100644 (file)
@@ -2374,7 +2374,7 @@ void wxAuiManager::Update()
             {
                 // frame already exists, make sure it's position
                 // and size reflect the information in wxAuiPaneInfo
-                if (p.frame->GetPosition() != p.floating_pos)
+                if ((p.frame->GetPosition() != p.floating_pos) || (p.frame->GetSize() != p.floating_size))
                 {
                     p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
                                      p.floating_size.x, p.floating_size.y,