From e54ea90607a44f628485b6bcec18d30a35be10ba Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 23 Oct 2019 11:28:15 +0200 Subject: [PATCH] PROGRESS_REPORTER: fix serious bug in its DTOR: the DTOR was calling Destroy. But Destroy() in wxWidgets calls the DTOR. It can create recursive calls of the DTOR. --- common/widgets/progress_reporter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/common/widgets/progress_reporter.cpp b/common/widgets/progress_reporter.cpp index 346def3c77..05c85904cd 100644 --- a/common/widgets/progress_reporter.cpp +++ b/common/widgets/progress_reporter.cpp @@ -114,7 +114,6 @@ WX_PROGRESS_REPORTER::WX_PROGRESS_REPORTER( wxWindow* aParent, const wxString& a WX_PROGRESS_REPORTER::~WX_PROGRESS_REPORTER() { - Destroy(); }