ProcessEvent() now saves the m_lastXXX parameters in case the event handler will

send any other events (without this it can easily lead to crash because DefWndProc
is called with garbage instead of correct parameters)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1998-08-07 22:25:09 +00:00
parent 83626bfa72
commit a02eb1d2b6
2 changed files with 317 additions and 74 deletions

View File

@@ -489,6 +489,9 @@ public:
// Setup background and foreground colours correctly
virtual void SetupColours(void);
// Saves the last message information before calling base version
virtual bool ProcessEvent(wxEvent& event);
// Handlers
virtual void MSWOnCreate(WXLPCREATESTRUCT cs);
virtual bool MSWOnPaint(void);