frame中
wxTimer m_Timer;
m_Timer(this, TIMER_ID);
m_Timer.Start(1000, wxTIMER_CONTINUOUS );
在debug版本里面,没有问题,但是在release版本中程序会crash掉,
如果在onPaint函数中增加
m_Timer.Stop(); 则会正常运行。
wxTimer m_Timer造成的crash
-
- In need of some credit
- Posts: 5
- Joined: Tue Nov 27, 2018 2:44 am