]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/motif/spinbutt.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / motif / spinbutt.cpp
... / ...
CommitLineData
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
9// Licence: wxWindows licence
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)
20IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent);
21#endif
22
23bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& WXUNUSED(pos), const wxSize& WXUNUSED(size),
24 long style, const wxString& name)
25{
26 SetName(name);
27
28 m_windowStyle = style;
29
30 if (parent) parent->AddChild(this);
31
32 InitBase();
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{
49 // TODO
50 return 0;
51}
52
53void wxSpinButton::SetValue(int WXUNUSED(val))
54{
55 // TODO
56}
57
58void wxSpinButton::SetRange(int minVal, int maxVal)
59{
60 // TODO
61 wxSpinButtonBase::SetRange(minVal, maxVal);
62}
63
64void wxSpinButton::ChangeFont(bool WXUNUSED(keepOriginalSize))
65{
66 // TODO
67}
68
69void wxSpinButton::ChangeBackgroundColour()
70{
71 // TODO
72}
73
74void wxSpinButton::ChangeForegroundColour()
75{
76 // TODO
77}