]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | ///////////////////////////////////////////////////////////////////////////// |
e2731512 | 2 | // Name: src/palmos/scrolbar.cpp |
ffecfa5a | 3 | // Purpose: wxScrollBar |
e2731512 | 4 | // Author: William Osborne - minimal working wxPalmOS port |
ffecfa5a JS |
5 | // Modified by: |
6 | // Created: 10/13/04 | |
e2731512 | 7 | // RCS-ID: $Id$ |
ffecfa5a JS |
8 | // Copyright: (c) William Osborne |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
ffecfa5a JS |
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 | ||
851dee09 WS |
21 | #include "wx/scrolbar.h" |
22 | ||
ffecfa5a JS |
23 | #ifndef WX_PRECOMP |
24 | #include "wx/utils.h" | |
9eddec69 | 25 | #include "wx/settings.h" |
ffecfa5a JS |
26 | #endif |
27 | ||
ffecfa5a | 28 | #include "wx/palmos/private.h" |
ffecfa5a | 29 | |
ffecfa5a JS |
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 | ||
ffecfa5a JS |
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 |