Browse Source

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.
merge-requests/1/head
jean-pierre charras 6 years ago
parent
commit
10d23ad82d
  1. 1
      common/widgets/progress_reporter.cpp

1
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();
}

Loading…
Cancel
Save