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:
@@ -152,7 +152,7 @@ class wxWindow: public wxEvtHandler
|
|||||||
|
|
||||||
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
||||||
|
|
||||||
virtual bool IsShown(void);
|
virtual bool IsShown(void) const;
|
||||||
virtual bool IsRetained(void);
|
virtual bool IsRetained(void);
|
||||||
virtual wxWindow *FindWindow( long id );
|
virtual wxWindow *FindWindow( long id );
|
||||||
virtual wxWindow *FindWindow( const wxString& name );
|
virtual wxWindow *FindWindow( const wxString& name );
|
||||||
|
@@ -152,7 +152,7 @@ class wxWindow: public wxEvtHandler
|
|||||||
|
|
||||||
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
void OnSysColourChanged( wxSysColourChangedEvent &WXUNUSED(event) ) {};
|
||||||
|
|
||||||
virtual bool IsShown(void);
|
virtual bool IsShown(void) const;
|
||||||
virtual bool IsRetained(void);
|
virtual bool IsRetained(void);
|
||||||
virtual wxWindow *FindWindow( long id );
|
virtual wxWindow *FindWindow( long id );
|
||||||
virtual wxWindow *FindWindow( const wxString& name );
|
virtual wxWindow *FindWindow( const wxString& name );
|
||||||
|
@@ -1739,7 +1739,7 @@ wxString wxWindow::GetName(void) const
|
|||||||
return (wxString&)m_windowName;
|
return (wxString&)m_windowName;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool wxWindow::IsShown(void)
|
bool wxWindow::IsShown(void) const
|
||||||
{
|
{
|
||||||
return m_isShown;
|
return m_isShown;
|
||||||
};
|
};
|
||||||
@@ -2393,7 +2393,7 @@ void wxWindow::GetPositionConstraint(int *x, int *y) const
|
|||||||
GetPosition(x, y);
|
GetPosition(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindow::AcceptsFocus() const
|
bool wxWindow::AcceptsFocus() const
|
||||||
{
|
{
|
||||||
return IsEnabled() && IsShown();
|
return IsEnabled() && IsShown();
|
||||||
}
|
}
|
||||||
|
@@ -1739,7 +1739,7 @@ wxString wxWindow::GetName(void) const
|
|||||||
return (wxString&)m_windowName;
|
return (wxString&)m_windowName;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool wxWindow::IsShown(void)
|
bool wxWindow::IsShown(void) const
|
||||||
{
|
{
|
||||||
return m_isShown;
|
return m_isShown;
|
||||||
};
|
};
|
||||||
@@ -2393,7 +2393,7 @@ void wxWindow::GetPositionConstraint(int *x, int *y) const
|
|||||||
GetPosition(x, y);
|
GetPosition(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxWindow::AcceptsFocus() const
|
bool wxWindow::AcceptsFocus() const
|
||||||
{
|
{
|
||||||
return IsEnabled() && IsShown();
|
return IsEnabled() && IsShown();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user