X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0abbe29739f758bd8c65c73dd3b033b00b292dff..2049ba38adafa0ec146880de29f26e32dd69a125:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index e8f1110306..7726cf9669 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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(); }