Avoid deferred show if frame is iconized

This commit is contained in:
Paul Cornett
2019-08-25 21:10:52 -07:00
parent 453999737f
commit db16c7af93

View File

@@ -968,7 +968,7 @@ bool wxTopLevelWindowGTK::Show( bool show )
wxCHECK_MSG(m_widget, false, "invalid frame");
#ifdef GDK_WINDOWING_X11
bool deferShow = show && !m_isShown && m_deferShow;
bool deferShow = show && !m_isShown && !m_isIconized && m_deferShow;
if (deferShow)
{
deferShow = m_deferShowAllowed &&