]> git.saurik.com Git - wxWidgets.git/blob - src/motif/spinbutt.cpp
added mouse event member into wxHtmlLinkInfo. wxHtmlWindow::OnLinkClicked now takes...
[wxWidgets.git] / src / motif / spinbutt.cpp
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 IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl)
19 IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxScrollEvent);
20
21 bool wxSpinButton::Create(wxWindow *parent, wxWindowID id, const wxPoint& WXUNUSED(pos), const wxSize& WXUNUSED(size),
22 long style, const wxString& name)
23 {
24 SetName(name);
25
26 m_windowStyle = style;
27
28 if (parent) parent->AddChild(this);
29
30 InitBase();
31
32 m_windowId = (id == -1) ? NewControlId() : id;
33
34 // TODO create spin button
35 return FALSE;
36 }
37
38 wxSpinButton::~wxSpinButton()
39 {
40 }
41
42 // Attributes
43 ////////////////////////////////////////////////////////////////////////////
44
45 int wxSpinButton::GetValue() const
46 {
47 // TODO
48 return 0;
49 }
50
51 void wxSpinButton::SetValue(int WXUNUSED(val))
52 {
53 // TODO
54 }
55
56 void wxSpinButton::SetRange(int minVal, int maxVal)
57 {
58 // TODO
59 wxSpinButtonBase::SetRange(minVal, maxVal);
60 }
61
62 void wxSpinButton::ChangeFont(bool WXUNUSED(keepOriginalSize))
63 {
64 // TODO
65 }
66
67 void wxSpinButton::ChangeBackgroundColour()
68 {
69 // TODO
70 }
71
72 void wxSpinButton::ChangeForegroundColour()
73 {
74 // TODO
75 }