git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43549
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-// Creates a floating frame for the windows
-wxAuiFloatingFrame * wxAuiManager::CreateFloatingFrame(wxWindow* parent, const wxAuiPaneInfo& p)
+// creates a floating frame for the windows
+wxAuiFloatingFrame* wxAuiManager::CreateFloatingFrame(wxWindow* parent,
+ const wxAuiPaneInfo& pane_info)
- return new wxAuiFloatingFrame(parent, this, p);
+ return new wxAuiFloatingFrame(parent, this, pane_info);
}
// GetPane() looks up a wxAuiPaneInfo structure based
}
// GetPane() looks up a wxAuiPaneInfo structure based
// and size reflect the information in wxAuiPaneInfo
if (p.frame->GetPosition() != p.floating_pos)
{
// and size reflect the information in wxAuiPaneInfo
if (p.frame->GetPosition() != p.floating_pos)
{
+ p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
+ p.floating_size.x, p.floating_size.y,
+ wxSIZE_USE_EXISTING);
+ /*
p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
wxDefaultCoord, wxDefaultCoord,
wxSIZE_USE_EXISTING);
//p.frame->Move(p.floating_pos.x, p.floating_pos.y);
p.frame->SetSize(p.floating_pos.x, p.floating_pos.y,
wxDefaultCoord, wxDefaultCoord,
wxSIZE_USE_EXISTING);
//p.frame->Move(p.floating_pos.x, p.floating_pos.y);
}
if (p.frame->IsShown() != p.IsShown())
}
if (p.frame->IsShown() != p.IsShown())