X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b64a7e24b3bc5f51bbe8569e46e691ca231ce57..687b91d266990129fbbb8c21d92fa4298b458352:/include/wx/scrolwin.h diff --git a/include/wx/scrolwin.h b/include/wx/scrolwin.h index c27b7fa830..485195577d 100644 --- a/include/wx/scrolwin.h +++ b/include/wx/scrolwin.h @@ -68,6 +68,10 @@ public: int GetScrollPageSize(int orient) const; void SetScrollPageSize(int orient, int pageSize); + // get the number of lines the window can scroll, + // returns 0 if no scrollbars are there. + int GetScrollLines( int orient ) const; + // Set the x, y scrolling increments. void SetScrollRate( int xstep, int ystep ); @@ -177,7 +181,7 @@ protected: : m_targetWindow->GetClientSize(); } - void GetTargetSize(int *w, int *h) + void GetTargetSize(int *w, int *h) const { wxSize size = GetTargetSize(); if ( w )