From b30f2a8ce6ee0661550d7c538f9eb4e0feeeff7b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 11 Nov 2014 01:02:18 +0000 Subject: [PATCH] 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 --- src/common/appbase.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/appbase.cpp b/src/common/appbase.cpp index d4374e7fd4..93a47aad1b 100644 --- a/src/common/appbase.cpp +++ b/src/common/appbase.cpp @@ -1367,8 +1367,6 @@ void ShowAssertDialog(const wxString& file, } #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() ) { msg += wxString::Format(" [in thread %lx]", wxThread::GetCurrentId());