accessor functions for wxAuiMDIParentFrame
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ba6ce5fbdb
commit
f39fddcd9e
@ -57,6 +57,10 @@ public:
|
||||
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
||||
const wxString& name = wxFrameNameStr );
|
||||
|
||||
void SetArtProvider(wxAuiTabArt* provider);
|
||||
wxAuiTabArt* GetArtProvider();
|
||||
wxAuiNotebook* GetNotebook() const;
|
||||
|
||||
#if wxUSE_MENUS
|
||||
wxMenu* GetWindowMenu() const { return m_pWindowMenu; };
|
||||
void SetWindowMenu(wxMenu* pMenu);
|
||||
|
@ -114,6 +114,30 @@ bool wxAuiMDIParentFrame::Create(wxWindow *parent,
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
void wxAuiMDIParentFrame::SetArtProvider(wxAuiTabArt* provider)
|
||||
{
|
||||
if (m_pClientWindow)
|
||||
{
|
||||
m_pClientWindow->SetArtProvider(provider);
|
||||
}
|
||||
}
|
||||
|
||||
wxAuiTabArt* wxAuiMDIParentFrame::GetArtProvider()
|
||||
{
|
||||
if (!m_pClientWindow)
|
||||
return NULL;
|
||||
|
||||
return m_pClientWindow->GetArtProvider();
|
||||
}
|
||||
|
||||
wxAuiNotebook* wxAuiMDIParentFrame::GetNotebook() const
|
||||
{
|
||||
return static_cast<wxAuiNotebook*>(m_pClientWindow);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#if wxUSE_MENUS
|
||||
void wxAuiMDIParentFrame::SetWindowMenu(wxMenu* pMenu)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user