]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
added render sample
[wxWidgets.git] / src / msw / spinbutt.cpp
index 59f3dd5bf898fd761f059062d4798e5e43e52ad3..ff06c69136b60461fc44cd5a2a2db61a8e453e31 100644 (file)
@@ -1,12 +1,12 @@
 /////////////////////////////////////////////////////////////////////////////
-// Name:        spinbutt.cpp
+// Name:        msw/spinbutt.cpp
 // Purpose:     wxSpinButton
 // Author:      Julian Smart
 // 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
 /////////////////////////////////////////////////////////////////////////////
 
 // ============================================================================
 #endif
 
 #ifndef WX_PRECOMP
-    #include "wx/wx.h"
+#include "wx/app.h"
 #endif
 
-// Can't resolve reference to CreateUpDownControl in
-// TWIN32, but could probably use normal CreateWindow instead.
-
 #if wxUSE_SPINBTN
 
 #include "wx/spinbutt.h"
 
 IMPLEMENT_DYNAMIC_CLASS(wxSpinEvent, wxNotifyEvent)
 
-#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 <commctrl.h>
 #endif
 
@@ -60,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
 // ----------------------------------------------------------------------------