]> git.saurik.com Git - wxWidgets.git/blob - src/mac/spinctrl.cpp
Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
[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
22 //-----------------------------------------------------------------------------
23 // wxSpinCtrl
24 //-----------------------------------------------------------------------------
25
26 #if wxUSE_SPINBTN && !defined(__WXMAC__)
27
28 #if !USE_SHARED_LIBRARY
29 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxControl)
30 #endif
31
32 #else // !wxUSE_SPINBTN
33
34 #if !USE_SHARED_LIBRARY
35 IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrl,wxTextCtrl)
36 #endif
37
38 #endif // wxUSE_SPINBTN/!wxUSE_SPINBTN
39
40 #endif // wxUSE_SPINCTRL
41