wxAUI's wxFrameManager::SetFrame() now takes a wxWindow ptr instead of a wxFrame ptr, in preparation for future work

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-07-11 13:50:49 +00:00
parent 315a592c4e
commit a189504e7f
3 changed files with 7 additions and 8 deletions

View File

@@ -501,7 +501,7 @@ unsigned int wxFrameManager::GetFlags() const
// SetFrame() is usually called once when the frame
// manager class is being initialized. "frame" specifies
// the frame which should be managed by the frame mananger
void wxFrameManager::SetFrame(wxFrame* frame)
void wxFrameManager::SetFrame(wxWindow* frame)
{
wxASSERT_MSG(frame, wxT("specified frame must be non-NULL"));
@@ -536,8 +536,8 @@ void wxFrameManager::UnInit()
m_frame->RemoveEventHandler(this);
}
// GetFrame() returns the frame pointer being managed by wxFrameManager
wxFrame* wxFrameManager::GetFrame() const
// GetFrame() returns the window pointer being managed by wxFrameManager
wxWindow* wxFrameManager::GetFrame() const
{
return m_frame;
}