]>
git.saurik.com Git - wxWidgets.git/blob - src/palmos/scrolbar.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/scrolbar.cpp
3 // Purpose: wxScrollBar
4 // Author: William Osborne - minimal working wxPalmOS port
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
21 #include "wx/scrolbar.h"
25 #include "wx/settings.h"
28 #include "wx/palmos/private.h"
31 bool wxScrollBar::Create(wxWindow
*parent
, wxWindowID id
,
33 const wxSize
& size
, long style
,
34 const wxValidator
& wxVALIDATOR_PARAM(validator
),
40 wxScrollBar::~wxScrollBar(void)
44 bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation
), WXWORD wParam
,
45 WXWORD pos
, WXHWND
WXUNUSED(control
))
50 void wxScrollBar::SetThumbPosition(int viewStart
)
54 int wxScrollBar::GetThumbPosition(void) const
58 void wxScrollBar::SetScrollbar(int position
, int thumbSize
, int range
, int pageSize
,
64 void wxScrollBar::Command(wxCommandEvent
& event
)
68 wxSize
wxScrollBar::DoGetBestSize() const
73 #endif // wxUSE_SCROLLBAR