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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user