]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/scrolbar.cpp
Fix out of bounds string access in wxMSW wxDirDialog.
[wxWidgets.git] / src / palmos / scrolbar.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/scrolbar.cpp
3 // Purpose: wxScrollBar
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #ifdef __BORLANDC__
16 #pragma hdrstop
17 #endif
18
19 #if wxUSE_SCROLLBAR
20
21 #include "wx/scrolbar.h"
22
23 #ifndef WX_PRECOMP
24 #include "wx/utils.h"
25 #include "wx/settings.h"
26 #endif
27
28 #include "wx/palmos/private.h"
29
30 // Scrollbar
31 bool wxScrollBar::Create(wxWindow *parent, wxWindowID id,
32 const wxPoint& pos,
33 const wxSize& size, long style,
34 const wxValidator& wxVALIDATOR_PARAM(validator),
35 const wxString& name)
36 {
37 return false;
38 }
39
40 wxScrollBar::~wxScrollBar(void)
41 {
42 }
43
44 bool wxScrollBar::MSWOnScroll(int WXUNUSED(orientation), WXWORD wParam,
45 WXWORD pos, WXHWND WXUNUSED(control))
46 {
47 return false;
48 }
49
50 void wxScrollBar::SetThumbPosition(int viewStart)
51 {
52 }
53
54 int wxScrollBar::GetThumbPosition(void) const
55 {
56 }
57
58 void wxScrollBar::SetScrollbar(int position, int thumbSize, int range, int pageSize,
59 bool refresh)
60 {
61 }
62
63
64 void wxScrollBar::Command(wxCommandEvent& event)
65 {
66 }
67
68 wxSize wxScrollBar::DoGetBestSize() const
69 {
70 return wxSize(0,0);
71 }
72
73 #endif // wxUSE_SCROLLBAR