X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0e449ff41f55b4d82f108f72638f852c962da2d..c39c53e9fce0bd9afac798406e0301a88adb8650:/include/wx/msw/window.h diff --git a/include/wx/msw/window.h b/include/wx/msw/window.h index 25abce27c7..587deb23ca 100644 --- a/include/wx/msw/window.h +++ b/include/wx/msw/window.h @@ -118,6 +118,9 @@ public: virtual void ScrollWindow( int dx, int dy, const wxRect* rect = (wxRect *) NULL ); + virtual bool ScrollLines(int lines); + virtual bool ScrollPages(int pages); + #if wxUSE_DRAG_AND_DROP virtual void SetDropTarget( wxDropTarget *dropTarget ); #endif // wxUSE_DRAG_AND_DROP @@ -344,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