Fixed [ 1645203 ] Problem with resizing floating panes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-08-21 08:35:08 +00:00
parent 2ff8932f92
commit 97008f4b93

View File

@@ -2380,7 +2380,7 @@ void wxAuiManager::Update()
{ {
// frame already exists, make sure it's position // frame already exists, make sure it's position
// and size reflect the information in wxAuiPaneInfo // 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.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
p.floating_size.x, p.floating_size.y, p.floating_size.x, p.floating_size.y,