Commit cd9b99eb authored by Charlie Fenton's avatar Charlie Fenton
Browse files

MGR: Fix an error I introduced by my commit 72fa3839 which caused wxWidgets asserts.

parent 259a0d17
...@@ -111,8 +111,8 @@ CDlgEventLog::CDlgEventLog( wxWindow* parent, wxWindowID id, const wxString& cap ...@@ -111,8 +111,8 @@ CDlgEventLog::CDlgEventLog( wxWindow* parent, wxWindowID id, const wxString& cap
CDlgEventLog::~CDlgEventLog() { CDlgEventLog::~CDlgEventLog() {
wxLogTrace(wxT("Function Start/End"), wxT("CDlgEventLog::CDlgEventLog - Destructor Function Begin")); wxLogTrace(wxT("Function Start/End"), wxT("CDlgEventLog::CDlgEventLog - Destructor Function Begin"));
#ifdef __WXGTK__ #ifdef __WXGTK__
m_pList->PopEventHandler(true); (m_pList->GetMainWin())->PopEventHandler(true);
#endif #endif
if (m_pMessageInfoAttr) { if (m_pMessageInfoAttr) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment