]> git.saurik.com Git - wxWidgets.git/blob - src/common/spinctrlcmn.cpp
use appropriate casts to fix warnings about double=>int conversions
[wxWidgets.git] / src / common / spinctrlcmn.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/common/spinctrlcmn.cpp
3 // Purpose: define wxSpinCtrl event types
4 // Author: Peter Most
5 // Created: 01.11.08
6 // RCS-ID: $Id$
7 // Copyright: (c) 2008-2009 wxWidgets team
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
10
11 // ============================================================================
12 // declarations
13 // ============================================================================
14
15 // ----------------------------------------------------------------------------
16 // headers
17 // ----------------------------------------------------------------------------
18
19 // For compilers that support precompilation, includes "wx.h".
20 #include "wx/wxprec.h"
21
22 #ifdef __BORLANDC__
23 #pragma hdrstop
24 #endif
25
26 #include "wx/spinbutt.h"
27 #include "wx/spinctrl.h"
28
29 #if wxUSE_SPINCTRL
30
31 wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRL_UPDATED, wxSpinEvent)
32 wxDEFINE_EVENT(wxEVT_COMMAND_SPINCTRLDOUBLE_UPDATED, wxSpinDoubleEvent)
33
34 #endif // wxUSE_SPINCTRL