Main frame no longer deletes child dialogues in destructor, causing after-death wxPersist saving of deleted dialogue states later.

This commit is contained in:
Simon Rozman 2017-03-31 13:44:47 +02:00
parent 15e5f2d9e2
commit ace7551281

View File

@ -159,15 +159,6 @@ wxZRColaFrame::~wxZRColaFrame()
}
#endif
if (m_chrReq)
delete m_chrReq;
if (m_chrSelect)
delete m_chrSelect;
if (m_settings)
delete m_settings;
if (m_taskBarIcon) {
m_taskBarIcon->Disconnect(wxEVT_TASKBAR_LEFT_DOWN, wxTaskBarIconEventHandler(wxZRColaFrame::OnTaskbarIconClick), NULL, this);
delete m_taskBarIcon;