]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
more backwards compatibility for printing
[wxWidgets.git] / src / msw / spinbutt.cpp
index bb3e75b68d4a35cd9e82cea8cb1dde09bb9411d8..03657deaa0d710c27ceece62de130f82127e11ec 100644 (file)
 #include "wx/wx.h"
 #endif
 
-#if defined(__WIN95__)
+// Can't resolve reference to CreateUpDownControl in
+// TWIN32, but could probably use normal CreateWindow instead.
+
+#if defined(__WIN95__) && !defined(__TWIN32__)
 
 #include "wx/spinbutt.h"
 #include "wx/msw/private.h"
 
-#ifndef __GNUWIN32__
+#if !defined(__GNUWIN32__) || defined(__TWIN32__)
 #include <commctrl.h>
 #endif