]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/spinbutt.cpp
wxEVT_COMMAND_CHOICE_SELECTED => wxEVT_COMMAND_COMBOBOX_SELECTED
[wxWidgets.git] / src / msw / spinbutt.cpp
index 4f8c5e5b760864e658621fe84303917d35e33962..03657deaa0d710c27ceece62de130f82127e11ec 100644 (file)
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx.h"
+#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