From ef1c614df80ca7f0de7696d646b7f7a45e2eaf3f Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Mon, 7 Sep 2015 09:43:18 -0700 Subject: [PATCH] Show widget at GTK+ level regardless of "child visibility" status, see #17134, #4343 (cherry picked from commit 8bceeba1437615c246d0687be29c4477ce782954) --- src/gtk/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 1fb91940d8..d0b8e8f4e3 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2700,7 +2700,7 @@ void wxWindowGTK::PostCreation() // unless the window was created initially hidden (i.e. Hide() had been // called before Create()), we should show it at GTK+ level as well - if ( IsShown() ) + if (m_isShown) gtk_widget_show( m_widget ); } @@ -2915,7 +2915,7 @@ void wxWindowGTK::DoSetSize( int x, int y, int width, int height, int sizeFlags bool wxWindowGTK::GTKShowFromOnIdle() { - if (IsShown() && m_showOnIdle && !gtk_widget_get_visible (m_widget)) + if (m_isShown && m_showOnIdle && !gtk_widget_get_visible(m_widget)) { GtkAllocation alloc; alloc.x = m_x;