X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caafd0821d78e35ecec45ebeb7001b3508288cf7..f014d4bf3e18198c273b3c119ad1a08d46d12c82:/include/wx/msw/scrolbar.h diff --git a/include/wx/msw/scrolbar.h b/include/wx/msw/scrolbar.h index 04e231de77..719576135a 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,14 +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; + virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const; int m_pageSize; int m_viewSize;