]> git.saurik.com Git - wxWidgets.git/blame - src/mac/carbon/spinctrl.cpp
first impl (needs extending)
[wxWidgets.git] / src / mac / carbon / spinctrl.cpp
CommitLineData
a5bc50ee
GD
1/////////////////////////////////////////////////////////////////////////////
2// Name: spinbutt.cpp
3// Purpose: wxSpinCtrl
4// Author: Robert
5// Modified by: Mark Newsam (Based on GTK file)
6// RCS-ID: $Id$
7// Copyright: (c) Robert Roebling
8// Licence: wxWindows licence
9/////////////////////////////////////////////////////////////////////////////
10
11#ifdef __GNUG__
12#pragma implementation "spinctlg.h"
13#endif
14
a842a96e 15#include "wx/defs.h"
a5bc50ee
GD
16
17#if wxUSE_SPINCTRL
18
a842a96e
GD
19#include "wx/spinctrl.h"
20
a5bc50ee
GD
21
22//-----------------------------------------------------------------------------
23// wxSpinCtrl
24//-----------------------------------------------------------------------------
25
90b959ae 26#if wxUSE_SPINBTN && !defined(__WXMAC__)
a842a96e
GD
27
28#if !USE_SHARED_LIBRARY
29 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
30#endif
31
32#else // !wxUSE_SPINBTN
33
a5bc50ee
GD
34#if !USE_SHARED_LIBRARY
35 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
36#endif
37
a842a96e 38#endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
a5bc50ee
GD
39
40#endif // wxUSE_SPINCTRL
41