Show widget at GTK+ level regardless of "child visibility" status, see #17134, #4343

(cherry picked from commit 8bceeba143)
This commit is contained in:
Paul Cornett
2015-09-07 09:43:18 -07:00
parent 6b6832796a
commit ef1c614df8

View File

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