]> git.saurik.com Git - wxWidgets.git/blob - src/mac/spinctrl.cpp
fixed a few minor bugs: handle the directory parameter to Create() correctly, better...
[wxWidgets.git] / src / mac / spinctrl.cpp
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
15 #include "wx/defs.h"
16
17 #if wxUSE_SPINCTRL
18
19 #include "wx/spinctrl.h"
20
21 #if 0
22
23 // now using the generic impl
24 //-----------------------------------------------------------------------------
25 // wxSpinCtrl
26 //-----------------------------------------------------------------------------
27
28 #if wxUSE_SPINBTN && !defined(__WXMAC__)
29
30 #if !USE_SHARED_LIBRARY
31 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
32 #endif
33
34 #else // !wxUSE_SPINBTN
35
36 #if !USE_SHARED_LIBRARY
37 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
38 #endif
39
40 #endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
41
42 #endif
43
44 #endif // wxUSE_SPINCTRL
45