wxWindow::IsShown() made 'const'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6e4739a0e1
commit
7fd1d163b7
@ -152,7 +152,7 @@ class wxWindow: public wxEvtHandler
|
||||
|
||||
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
||||
|
||||
virtual bool IsShown(void);
|
||||
virtual bool IsShown(void) const;
|
||||
virtual bool IsRetained(void);
|
||||
virtual wxWindow *FindWindow( long id );
|
||||
virtual wxWindow *FindWindow( const wxString& name );
|
||||
|
@ -152,7 +152,7 @@ class wxWindow: public wxEvtHandler
|
||||
|
||||
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
||||
|
||||
virtual bool IsShown(void);
|
||||
virtual bool IsShown(void) const;
|
||||
virtual bool IsRetained(void);
|
||||
virtual wxWindow *FindWindow( long id );
|
||||
virtual wxWindow *FindWindow( const wxString& name );
|
||||
|
@ -1739,7 +1739,7 @@ wxString wxWindow::GetName(void) const
|
||||
return (wxString&)m_windowName;
|
||||
};
|
||||
|
||||
bool wxWindow::IsShown(void)
|
||||
bool wxWindow::IsShown(void) const
|
||||
{
|
||||
return m_isShown;
|
||||
};
|
||||
@ -2393,7 +2393,7 @@ void wxWindow::GetPositionConstraint(int *x, int *y) const
|
||||
GetPosition(x, y);
|
||||
}
|
||||
|
||||
void wxWindow::AcceptsFocus() const
|
||||
bool wxWindow::AcceptsFocus() const
|
||||
{
|
||||
return IsEnabled() && IsShown();
|
||||
}
|
||||
|
@ -1739,7 +1739,7 @@ wxString wxWindow::GetName(void) const
|
||||
return (wxString&)m_windowName;
|
||||
};
|
||||
|
||||
bool wxWindow::IsShown(void)
|
||||
bool wxWindow::IsShown(void) const
|
||||
{
|
||||
return m_isShown;
|
||||
};
|
||||
@ -2393,7 +2393,7 @@ void wxWindow::GetPositionConstraint(int *x, int *y) const
|
||||
GetPosition(x, y);
|
||||
}
|
||||
|
||||
void wxWindow::AcceptsFocus() const
|
||||
bool wxWindow::AcceptsFocus() const
|
||||
{
|
||||
return IsEnabled() && IsShown();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user