X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/566d84a7c3c06956562b9f8ac364aa3bad760c10..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/scrolwin.h diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index 8e12c38018..e4c0a96763 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -84,7 +84,7 @@ public: DoCalcUnscrolledPosition(pt.x, pt.y, &p2.x, &p2.y); return p2; } - + virtual void DoCalcScrolledPosition(int x, int y, int *xx, int *yy) const; virtual void DoCalcUnscrolledPosition(int x, int y, int *xx, int *yy) const; @@ -139,6 +139,11 @@ public: // once it is fixed! void OnScroll(wxScrollWinEvent& event) { HandleOnScroll(event); } +#if WXWIN_COMPATIBILITY_2_2 + // Compatibility only, don't use + void ViewStart(int *x, int *y) const { GetViewStart( x, y ); } +#endif // WXWIN_COMPATIBILITY_2_2 + protected: // get pointer to our scroll rect if we use it or NULL const wxRect *GetRect() const @@ -196,6 +201,8 @@ protected: #endif // wxUSE_MOUSEWHEEL wxScrollHelperEvtHandler *m_handler; + + DECLARE_NO_COPY_CLASS(wxScrollHelper) }; // ----------------------------------------------------------------------------