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.
This commit is contained in:
jean-pierre charras 2019-10-23 11:28:15 +02:00
parent fda403a079
commit e54ea90607
1 changed files with 0 additions and 1 deletions

View File

@ -114,7 +114,6 @@ WX_PROGRESS_REPORTER::WX_PROGRESS_REPORTER( wxWindow* aParent, const wxString& a
WX_PROGRESS_REPORTER::~WX_PROGRESS_REPORTER() WX_PROGRESS_REPORTER::~WX_PROGRESS_REPORTER()
{ {
Destroy();
} }