在生成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).
}
wxAuiManager Bug "GetEventHandler()==this"bugfix错误修复
wxAuiManager Bug "GetEventHandler()==this"bugfix错误修复
Last edited by winterwjm on Wed Oct 24, 2018 8:04 am, edited 2 times in total.
Re: wxAuiManager Bug "GetEventHandler()==this"错误修复
Privetstvuju,
K sogaleniju nichego ne ponjatno.
Pishite pogalujsta na English.
K sogaleniju nichego ne ponjatno.
Pishite pogalujsta na English.