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
e621ae7538
commit
10d23ad82d
|
@ -114,7 +114,6 @@ WX_PROGRESS_REPORTER::WX_PROGRESS_REPORTER( wxWindow* aParent, const wxString& a
|
|||
|
||||
WX_PROGRESS_REPORTER::~WX_PROGRESS_REPORTER()
|
||||
{
|
||||
Destroy();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue