added another AddPane() call which allows the caller to add a new window at a certain point; Hint functions are now public

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-07-16 10:59:16 +00:00
parent 50f3c41d61
commit 0603bb285c
2 changed files with 29 additions and 5 deletions

View File

@@ -669,6 +669,20 @@ bool wxFrameManager::AddPane(wxWindow* window,
return AddPane(window, pinfo);
}
bool wxFrameManager::AddPane(wxWindow* window,
const wxPaneInfo& pane_info,
const wxPoint& drop_pos)
{
if (!AddPane(window, pane_info))
return false;
wxPaneInfo& pane = GetPane(window);
DoDrop(m_docks, m_panes, pane, drop_pos, wxPoint(0,0));
return true;
}
bool wxFrameManager::InsertPane(wxWindow* window, const wxPaneInfo& pane_info,
int insert_level)
{