X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a06bb527dd58cb3b0aec62d0bce0b03aade10140..6f8a4ba11cfa9f9a821567c4d48f895a9310faf8:/include/wx/msw/scrolbar.h diff --git a/include/wx/msw/scrolbar.h b/include/wx/msw/scrolbar.h index 6cae25208d..b41c9e04cd 100644 --- a/include/wx/msw/scrolbar.h +++ b/include/wx/msw/scrolbar.h @@ -46,7 +46,7 @@ public: virtual void SetThumbPosition(int viewStart); virtual void SetScrollbar(int position, int thumbSize, int range, int pageSize, - bool refresh = TRUE); + bool refresh = true); // needed for RTTI void SetThumbSize( int s ) { SetScrollbar( GetThumbPosition() , s , GetRange() , GetPageSize() , true ) ; } @@ -54,12 +54,13 @@ public: void SetRange( int s ) { SetScrollbar( GetThumbPosition() , GetThumbSize() , s , GetPageSize() , true ) ; } void Command(wxCommandEvent& event); - virtual WXHBRUSH OnCtlColor(WXHDC pDC, WXHWND pWnd, WXUINT nCtlColor, - WXUINT message, WXWPARAM wParam, WXLPARAM lParam); virtual bool MSWOnScroll(int orientation, WXWORD wParam, WXWORD pos, WXHWND control); protected: + + wxSize DoGetBestSize() const; + int m_pageSize; int m_viewSize; int m_objectSize;