fixed processing of the implicit wxTextCtrl accelerators (Ctrl-C/V/X)
without breaking all the others by using a new MSWShouldPreProcessMessage() function git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -347,8 +347,20 @@ public:
|
||||
|
||||
// Calls an appropriate default window procedure
|
||||
virtual long MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
||||
|
||||
// message processing helpers
|
||||
|
||||
// return FALSE if the message shouldn't be translated/preprocessed but
|
||||
// dispatched normally
|
||||
virtual bool MSWShouldPreProcessMessage(WXMSG* pMsg);
|
||||
|
||||
// return TRUE if the message was preprocessed and shouldn't be dispatched
|
||||
virtual bool MSWProcessMessage(WXMSG* pMsg);
|
||||
|
||||
// return TRUE if the message was translated and shouldn't be dispatched
|
||||
virtual bool MSWTranslateMessage(WXMSG* pMsg);
|
||||
|
||||
// called when the window is about to be destroyed
|
||||
virtual void MSWDestroyWindow();
|
||||
|
||||
// Detach "Window" menu from menu bar so it doesn't get deleted
|
||||
|
Reference in New Issue
Block a user