]> git.saurik.com Git - wxWidgets.git/blame - src/motif/spinbutt.cpp
New makefile system in place, obsoletes libtool,
[wxWidgets.git] / src / motif / spinbutt.cpp
CommitLineData
4bb6408c
JS
1/////////////////////////////////////////////////////////////////////////////
2// Name: spinbutt.cpp
3// Purpose: wxSpinButton
4// Author: Julian Smart
5// Modified by:
6// Created: 17/09/98
7// RCS-ID: $Id$
8// Copyright: (c) Julian Smart
31528cd3 9// Licence: wxWindows licence
4bb6408c
JS
10/////////////////////////////////////////////////////////////////////////////
11
12#ifdef __GNUG__
13#pragma implementation "spinbutt.h"
14#endif
15
16#include "wx/spinbutt.h"
17
18#if !USE_SHARED_LIBRARY
19IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
31528cd3 20IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent);
4bb6408c
JS
21#endif
22
4bb6408c
JS
23bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size,
24 long style, const wxString& name)
25{
26 SetName(name);
27
28 m_windowStyle = style;
29
9838df2c 30 if (parent) parent->AddChild(this);
31528cd3
VZ
31
32 InitBase();
4bb6408c
JS
33
34 m_windowId = (id == -1) ? NewControlId() : id;
35
36 // TODO create spin button
37 return FALSE;
38}
39
40wxSpinButton::~wxSpinButton()
41{
42}
43
44// Attributes
45////////////////////////////////////////////////////////////////////////////
46
47int wxSpinButton::GetValue() const
48{
31528cd3 49 // TODO
4bb6408c
JS
50 return 0;
51}
52
53void wxSpinButton::SetValue(int val)
54{
31528cd3 55 // TODO
4bb6408c
JS
56}
57
58void wxSpinButton::SetRange(int minVal, int maxVal)
59{
31528cd3
VZ
60 // TODO
61 wxSpinButtonBase::SetRange(minVal, maxVal);
4bb6408c
JS
62}
63
4b5f3fe6 64void wxSpinButton::ChangeFont(bool keepOriginalSize)
0d57be45
JS
65{
66 // TODO
67}
68
69void wxSpinButton::ChangeBackgroundColour()
70{
71 // TODO
72}
73
74void wxSpinButton::ChangeForegroundColour()
75{
76 // TODO
77}