All:
I got one question about the the wxDialog Destry():
Suppose I make a dialog which inheritate from wxDialog like:
wxMyDialog dlg = new wxMyDialog(.....the pararmeter.....)
and inside wxMyDialog, there are some wxwidgets pointers like wxbutton*, wxBoxSizer* ....
I read some tutorials, most of them do not mention what happen to those inside pointers, so I wonder, when I call dlg->Destroy()
, can all those pointers be automatically free? Can someone tell me what happen behind Destroy()?
or
if not, how can I free them mannually?
Best,