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:
@@ -761,7 +761,7 @@ bool wxTopLevelWindowGTK::Show( bool show )
|
|||||||
{
|
{
|
||||||
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
|
wxASSERT_MSG( (m_widget != NULL), wxT("invalid frame") );
|
||||||
|
|
||||||
bool deferShow = show && m_deferShow;
|
bool deferShow = show && m_deferShow && !m_isShown;
|
||||||
if (deferShow)
|
if (deferShow)
|
||||||
{
|
{
|
||||||
m_deferShow =
|
m_deferShow =
|
||||||
|
Reference in New Issue
Block a user