X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ab30ebf651082262fa87e367ac7b0485744accd..d3017584ba511936444abd5a2400e0519f35416f:/src/msw/spinbutt.cpp diff --git a/src/msw/spinbutt.cpp b/src/msw/spinbutt.cpp index ed7a317458..59f2672186 100644 --- a/src/msw/spinbutt.cpp +++ b/src/msw/spinbutt.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "spinbutt.h" #pragma implementation "spinbutbase.h" #endif @@ -30,6 +30,7 @@ #endif #ifndef WX_PRECOMP +#include "wx/app.h" #endif #if wxUSE_SPINBTN @@ -38,13 +39,11 @@ IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) -// Can't resolve reference to CreateUpDownControl in -// TWIN32, but could probably use normal CreateWindow instead. -#if defined(__WIN95__) && !defined(__TWIN32__) +#if defined(__WIN95__) #include "wx/msw/private.h" -#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__)) +#if defined(__WIN95__) && !(defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)) #include #endif @@ -58,6 +57,16 @@ IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent) IMPLEMENT_DYNAMIC_CLASS(wxSpinButton, wxControl) +/* + TODO PROPERTIES + + style wxSP_VERTICAL | wxSP_ARROW_KEYS + value wxSP_DEFAULT_VALUE + min wxSP_DEFAULT_MIN + max wxSP_DEFAULT_MAX + +*/ + // ---------------------------------------------------------------------------- // wxSpinButton // ----------------------------------------------------------------------------