Avoid showing hidden window during deferred show handling

See https://github.com/wxWidgets/wxWidgets/pull/512
This commit is contained in:
Paul Cornett 2017-06-27 09:28:05 -07:00
parent a352f80537
commit d87a766214

View File

@ -1359,6 +1359,9 @@ void wxTopLevelWindowGTK::GTKUpdateDecorSize(const DecorSize& decorSize)
#ifdef __WXGTK3__
GTKSizeRevalidate();
#endif
if (!m_isShown)
return;
gtk_widget_show(m_widget);
#ifdef __WXGTK3__