git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11184
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
size_t nMsgCount = m_aMessages.Count();
size_t nMsgCount = m_aMessages.Count();
+ // avoid showing other log dialogs until we're done with the dialog we're
+ // showing right now: nested modal dialogs make for really bad UI!
+ Suspend();
+
wxString str;
if ( nMsgCount == 1 )
{
wxString str;
if ( nMsgCount == 1 )
{
// no undisplayed messages whatsoever
Clear();
}
// no undisplayed messages whatsoever
Clear();
}
+
+ // allow flushing the logs again
+ Resume();
}
// log all kinds of messages
}
// log all kinds of messages