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:
Vadim Zeitlin 1998-07-09 15:59:27 +00:00
parent 6e4739a0e1
commit 7fd1d163b7
4 changed files with 6 additions and 6 deletions

View File

@ -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 );

View File

@ -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 );

View File

@ -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();
}

View File

@ -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();
}