Main frame no longer deletes child dialogues in destructor, causing after-death wxPersist saving of deleted dialogue states later.
This commit is contained in:
parent
15e5f2d9e2
commit
ace7551281
@ -159,15 +159,6 @@ wxZRColaFrame::~wxZRColaFrame()
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (m_chrReq)
|
|
||||||
delete m_chrReq;
|
|
||||||
|
|
||||||
if (m_chrSelect)
|
|
||||||
delete m_chrSelect;
|
|
||||||
|
|
||||||
if (m_settings)
|
|
||||||
delete m_settings;
|
|
||||||
|
|
||||||
if (m_taskBarIcon) {
|
if (m_taskBarIcon) {
|
||||||
m_taskBarIcon->Disconnect(wxEVT_TASKBAR_LEFT_DOWN, wxTaskBarIconEventHandler(wxZRColaFrame::OnTaskbarIconClick), NULL, this);
|
m_taskBarIcon->Disconnect(wxEVT_TASKBAR_LEFT_DOWN, wxTaskBarIconEventHandler(wxZRColaFrame::OnTaskbarIconClick), NULL, this);
|
||||||
delete m_taskBarIcon;
|
delete m_taskBarIcon;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user