Avoid showing hidden window during deferred show handling
See https://github.com/wxWidgets/wxWidgets/pull/512
This commit is contained in:
parent
a352f80537
commit
d87a766214
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user