Remove outdated comment from ShowAssertDialog().
The comment didn't correspond to the code since the changes of r62842, the asserts don't result in an immediate trap now even if they happen in non-main thread. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1367,8 +1367,6 @@ void ShowAssertDialog(const wxString& file,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if wxUSE_THREADS
|
#if wxUSE_THREADS
|
||||||
// if we are not in the main thread, output the assert directly and trap
|
|
||||||
// since dialogs cannot be displayed
|
|
||||||
if ( !wxThread::IsMain() )
|
if ( !wxThread::IsMain() )
|
||||||
{
|
{
|
||||||
msg += wxString::Format(" [in thread %lx]", wxThread::GetCurrentId());
|
msg += wxString::Format(" [in thread %lx]", wxThread::GetCurrentId());
|
||||||
|
Reference in New Issue
Block a user