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
This commit is contained in:
Paul Cornett
2008-04-19 20:54:43 +00:00
parent d7b20621ef
commit 7d1d359a4c

View File

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