]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
new VC++ project files with both dll and lib in one project
[wxWidgets.git] / src / msw / spinbutt.cpp
index f875c29fd9ff858c2bdd9a58bacfb0a82736c786..59f26721862dd26dee3191a0c3a4cc06f322f6c1 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "spinbutt.h"
     #pragma implementation "spinbutbase.h"
 #endif
 
 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 <commctrl.h>
 #endif
 
@@ -59,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
 // ----------------------------------------------------------------------------