Page 1 of 1

wxAuiManager Bug "GetEventHandler()==this"bugfix错误修复

Posted: Sat Oct 20, 2018 5:34 am
by winterwjm
在生成wxWidgetsFrame后,再加wxAuiMAnager后,编译并运行程序,退出程序时会出错:(add wxAuiManager in wxwidgetFrame, then compile and run, when exit the programme, error popup :)
"GetEventHandler()==this failed in ~wxWindowsBase()"
解决办法:在析构函数里面加入一句:(solving method:add one line in destructor:)
aui_FormFrm::~aui_FormFrm()
{
WxAuiManager1->UnInit(); /// 清理管理器(clear manager).
}

Re: wxAuiManager Bug "GetEventHandler()==this"错误修复

Posted: Mon Oct 22, 2018 8:59 pm
by ONEEYEMAN
Privetstvuju,
K sogaleniju nichego ne ponjatno.

Pishite pogalujsta na English.

;-)