wxMDIFrames define DoGetClientSize() and not GetClientSize() to avoid hiding
the base class methods git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -59,10 +59,12 @@ public:
|
|||||||
(void)Create(parent, id, title, pos, size, style, name);
|
(void)Create(parent, id, title, pos, size, style, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
~wxMDIParentFrame(void);
|
~wxMDIParentFrame();
|
||||||
bool Create( wxWindow *parent,
|
bool Create( wxWindow *parent,
|
||||||
wxWindowID id, const wxString& title,
|
wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
const wxString& title,
|
||||||
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
||||||
const wxString& name = wxFrameNameStr );
|
const wxString& name = wxFrameNameStr );
|
||||||
|
|
||||||
|
@@ -59,10 +59,12 @@ public:
|
|||||||
(void)Create(parent, id, title, pos, size, style, name);
|
(void)Create(parent, id, title, pos, size, style, name);
|
||||||
}
|
}
|
||||||
|
|
||||||
~wxMDIParentFrame(void);
|
~wxMDIParentFrame();
|
||||||
bool Create( wxWindow *parent,
|
bool Create( wxWindow *parent,
|
||||||
wxWindowID id, const wxString& title,
|
wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
const wxString& title,
|
||||||
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
const wxSize& size = wxDefaultSize,
|
||||||
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
|
||||||
const wxString& name = wxFrameNameStr );
|
const wxString& name = wxFrameNameStr );
|
||||||
|
|
||||||
|
@@ -225,9 +225,9 @@ void wxMDIParentFrame::OnInternalIdle()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIParentFrame::GetClientSize(int *width, int *height ) const
|
void wxMDIParentFrame::DoGetClientSize(int *width, int *height ) const
|
||||||
{
|
{
|
||||||
wxFrame::GetClientSize( width, height );
|
wxFrame::DoGetClientSize( width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const
|
wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const
|
||||||
@@ -327,9 +327,9 @@ bool wxMDIChildFrame::Create( wxMDIParentFrame *parent,
|
|||||||
return wxWindow::Create( parent->GetClientWindow(), id, wxDefaultPosition, size, style, name );
|
return wxWindow::Create( parent->GetClientWindow(), id, wxDefaultPosition, size, style, name );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIChildFrame::GetClientSize( int *width, int *height ) const
|
void wxMDIChildFrame::DoGetClientSize( int *width, int *height ) const
|
||||||
{
|
{
|
||||||
wxWindow::GetClientSize( width, height );
|
wxWindow::DoGetClientSize( width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIChildFrame::AddChild( wxWindowBase *child )
|
void wxMDIChildFrame::AddChild( wxWindowBase *child )
|
||||||
|
@@ -225,9 +225,9 @@ void wxMDIParentFrame::OnInternalIdle()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIParentFrame::GetClientSize(int *width, int *height ) const
|
void wxMDIParentFrame::DoGetClientSize(int *width, int *height ) const
|
||||||
{
|
{
|
||||||
wxFrame::GetClientSize( width, height );
|
wxFrame::DoGetClientSize( width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const
|
wxMDIChildFrame *wxMDIParentFrame::GetActiveChild() const
|
||||||
@@ -327,9 +327,9 @@ bool wxMDIChildFrame::Create( wxMDIParentFrame *parent,
|
|||||||
return wxWindow::Create( parent->GetClientWindow(), id, wxDefaultPosition, size, style, name );
|
return wxWindow::Create( parent->GetClientWindow(), id, wxDefaultPosition, size, style, name );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIChildFrame::GetClientSize( int *width, int *height ) const
|
void wxMDIChildFrame::DoGetClientSize( int *width, int *height ) const
|
||||||
{
|
{
|
||||||
wxWindow::GetClientSize( width, height );
|
wxWindow::DoGetClientSize( width, height );
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxMDIChildFrame::AddChild( wxWindowBase *child )
|
void wxMDIChildFrame::AddChild( wxWindowBase *child )
|
||||||
|
Reference in New Issue
Block a user