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:
parent
fda403a079
commit
e54ea90607
|
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue