]> git.saurik.com Git - wxWidgets.git/blame - src/mac/spinctrl.cpp
fix for GetParent() in wxTR_HIDE_ROOT case
[wxWidgets.git] / src / mac / 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
9453cf2b 21#if 0
a5bc50ee 22
9453cf2b 23// now using the generic impl
a5bc50ee
GD
24//-----------------------------------------------------------------------------
25// wxSpinCtrl
26//-----------------------------------------------------------------------------
27
90b959ae 28#if wxUSE_SPINBTN && !defined(__WXMAC__)
a842a96e
GD
29
30#if !USE_SHARED_LIBRARY
31 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
32#endif
33
34#else // !wxUSE_SPINBTN
35
a5bc50ee
GD
36#if !USE_SHARED_LIBRARY
37 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
38#endif
39
a842a96e 40#endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
a5bc50ee 41
9453cf2b
SC
42#endif
43
a5bc50ee
GD
44#endif // wxUSE_SPINCTRL
45