X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d775fa82354a1f8d5db87ad1d71ab00ef7d9123c..3e7cd2f52b97ad4191511343aa418e3f6355c165:/include/wx/scrolwin.h?ds=sidebyside diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index ba961d4cc7..2655c594dd 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -22,6 +22,7 @@ class WXDLLEXPORT wxTimer; // wxScrolledWindow and wxScrolledControl. It is a mix-in: just derive from it // to implement scrolling in your class. // ---------------------------------------------------------------------------- +#if !defined(__WXGTK__) || defined(__WXUNIVERSAL__) class WXDLLEXPORT wxScrollHelper { @@ -141,7 +142,7 @@ public: #if WXWIN_COMPATIBILITY_2_2 // Compatibility only, don't use - void ViewStart(int *x, int *y) const { GetViewStart( x, y ); } + wxDEPRECATED( void ViewStart(int *x, int *y) const ); #endif // WXWIN_COMPATIBILITY_2_2 protected: @@ -174,6 +175,9 @@ protected: // delete the event handler we installed void DeleteEvtHandler(); + double m_scaleX; + double m_scaleY; + wxWindow *m_win, *m_targetWindow; @@ -193,9 +197,6 @@ protected: bool m_xScrollingEnabled; bool m_yScrollingEnabled; - double m_scaleX; - double m_scaleY; - #if wxUSE_MOUSEWHEEL int m_wheelRotation; #endif // wxUSE_MOUSEWHEEL @@ -205,6 +206,8 @@ protected: DECLARE_NO_COPY_CLASS(wxScrollHelper) }; +#endif + // ---------------------------------------------------------------------------- // wxScrolledWindow: a wxWindow which knows how to scroll // ----------------------------------------------------------------------------