]>
Commit | Line | Data |
---|---|---|
ffecfa5a | 1 | ///////////////////////////////////////////////////////////////////////////// |
e2731512 | 2 | // Name: src/palmos/spinbutt.cpp |
ffecfa5a | 3 | // Purpose: wxSpinButton |
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 | ||
12 | // ============================================================================ | |
13 | // declarations | |
14 | // ============================================================================ | |
15 | ||
16 | // ---------------------------------------------------------------------------- | |
17 | // headers | |
18 | // ---------------------------------------------------------------------------- | |
19 | ||
ffecfa5a JS |
20 | // For compilers that support precompilation, includes "wx.h". |
21 | #include "wx/wxprec.h" | |
22 | ||
23 | #ifdef __BORLANDC__ | |
24 | #pragma hdrstop | |
25 | #endif | |
26 | ||
ffecfa5a JS |
27 | #if wxUSE_SPINBTN |
28 | ||
29 | #include "wx/spinbutt.h" | |
30 | ||
670f9935 WS |
31 | #ifndef WX_PRECOMP |
32 | #include "wx/app.h" | |
33 | #endif | |
34 | ||
ffecfa5a JS |
35 | // ============================================================================ |
36 | // implementation | |
37 | // ============================================================================ | |
38 | ||
39 | // ---------------------------------------------------------------------------- | |
40 | // wxWin macros | |
41 | // ---------------------------------------------------------------------------- | |
42 | ||
ffecfa5a JS |
43 | // ---------------------------------------------------------------------------- |
44 | // wxSpinButton | |
45 | // ---------------------------------------------------------------------------- | |
46 | ||
47 | bool wxSpinButton::Create(wxWindow *parent, | |
48 | wxWindowID id, | |
49 | const wxPoint& pos, | |
50 | const wxSize& size, | |
51 | long style, | |
52 | const wxString& name) | |
53 | { | |
54 | return false; | |
55 | } | |
56 | ||
57 | wxSpinButton::~wxSpinButton() | |
58 | { | |
59 | } | |
60 | ||
61 | // ---------------------------------------------------------------------------- | |
62 | // size calculation | |
63 | // ---------------------------------------------------------------------------- | |
64 | ||
65 | wxSize wxSpinButton::DoGetBestSize() const | |
66 | { | |
67 | return wxSize(0,0), | |
68 | } | |
69 | ||
70 | // ---------------------------------------------------------------------------- | |
71 | // Attributes | |
72 | // ---------------------------------------------------------------------------- | |
73 | ||
74 | int wxSpinButton::GetValue() const | |
75 | { | |
76 | return 0; | |
77 | } | |
78 | ||
79 | void wxSpinButton::SetValue(int val) | |
80 | { | |
81 | } | |
82 | ||
83 | void wxSpinButton::SetRange(int minVal, int maxVal) | |
84 | { | |
85 | } | |
86 | ||
ffecfa5a | 87 | #endif |
b0f76951 | 88 | // wxUSE_SPINBTN |