]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/spinbutt.cpp
avoid deprecated functions and direct struct access
[wxWidgets.git] / src / palmos / spinbutt.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/spinbutt.cpp
3 // Purpose: wxSpinButton
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 // ============================================================================
13 // declarations
14 // ============================================================================
15
16 // ----------------------------------------------------------------------------
17 // headers
18 // ----------------------------------------------------------------------------
19
20 // For compilers that support precompilation, includes "wx.h".
21 #include "wx/wxprec.h"
22
23 #ifdef __BORLANDC__
24 #pragma hdrstop
25 #endif
26
27 #if wxUSE_SPINBTN
28
29 #include "wx/spinbutt.h"
30
31 #ifndef WX_PRECOMP
32 #include "wx/app.h"
33 #endif
34
35 // ============================================================================
36 // implementation
37 // ============================================================================
38
39 // ----------------------------------------------------------------------------
40 // wxWin macros
41 // ----------------------------------------------------------------------------
42
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
87 #endif
88 // wxUSE_SPINBTN