Fixed a crash on exit by calling DefWindowProc after the WM_DESTORY message has been received. Patch by eddie.willett.

Fixes issue 4588.
Fixes issue 5285.
This commit is contained in:
skidau
2012-03-19 21:51:26 +11:00
parent 418f46ea72
commit 281d7531a3
2 changed files with 8 additions and 7 deletions

View File

@ -365,7 +365,7 @@ public:
virtual WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
// Calls an appropriate default window procedure
virtual WXLRESULT MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
virtual WXLRESULT MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam, bool callDefWindowProc = false);
// message processing helpers