Windows 7 / Mingw32 / wxWidget-2.9.4 / C::B
문제점 및 증상
- wxWidgets의 wxAuiManager로 작성된 프로그램을 종료할 때, 다음과 같은 Debug Alert 창이 나타남 : assert "assert GetEventHandler()== this" failed in ~wxWindowBase()
해결 방안
- Frame가 소멸될 때, AuiManager의 UnInit() 함수가 정상적으로 호출되지 못하여 발생
- Frame 소멸자에서 wxAuiManager.UnInit() 함수 호출
참고자료
728x90
반응형
'프로그래밍 > C,C++' 카테고리의 다른 글
warning D9030: '/Gm' is incompatible with multiprocessing; ignoring /MP switch (0) | 2014.01.12 |
---|---|
[wxWidgets] 파일 삭제 방법(How to delete a file) (0) | 2013.07.22 |
[wxWidgets] assert "nModes == 1" failed in MSWGetStyle(): wxListCtrl style (0) | 2013.07.16 |
[Mingw] How to build wxFreeChart with wxWidgets(2.9.4) (0) | 2013.07.15 |
[Mingw] How to build wxWidgets. (0) | 2013.07.12 |