X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cd6d737d5adc5fe415cddb3ef0024b9da2b9e08..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 27432a415d..587deb23ca 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -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