Please replace
- Code: Select all
if (m_frame->GetEventHandler() == this)
m_frame->PopEventHandler();
with:
- Code: Select all
m_frame->RemoveEventHandler(this);
Thanks!
if (m_frame->GetEventHandler() == this)
m_frame->PopEventHandler();
m_frame->RemoveEventHandler(this);
Return to wxAUI Questions, Thoughts & Feedback