// 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
{
#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:
// delete the event handler we installed
void DeleteEvtHandler();
+ double m_scaleX;
+ double m_scaleY;
+
wxWindow *m_win,
*m_targetWindow;
bool m_xScrollingEnabled;
bool m_yScrollingEnabled;
- double m_scaleX;
- double m_scaleY;
-
#if wxUSE_MOUSEWHEEL
int m_wheelRotation;
#endif // wxUSE_MOUSEWHEEL
DECLARE_NO_COPY_CLASS(wxScrollHelper)
};
+#endif
+
// ----------------------------------------------------------------------------
// wxScrolledWindow: a wxWindow which knows how to scroll
// ----------------------------------------------------------------------------