From 7d1d359a4c01d1134c0b25733d4aa05f9367b604 Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Sat, 19 Apr 2008 20:54:43 +0000 Subject: [PATCH] don't reset m_deferShow if Show() is called more than once, bug 1939534 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/toplevel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtk/toplevel.cpp b/src/gtk/toplevel.cpp index 94b65ad038..bf8bde87c0 100644 --- a/src/gtk/toplevel.cpp +++ b/src/gtk/toplevel.cpp @@ -761,7 +761,7 @@ bool wxTopLevelWindowGTK::Show( bool show ) { wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") ); - bool deferShow = show && m_deferShow; + bool deferShow = show && m_deferShow && !m_isShown; if (deferShow) { m_deferShow = -- 2.45.2