projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxRegConfig::GetEntryType() added and some bugs fixed
[wxWidgets.git]
/
src
/
msw
/
spinbutt.cpp
diff --git
a/src/msw/spinbutt.cpp
b/src/msw/spinbutt.cpp
index bb3e75b68d4a35cd9e82cea8cb1dde09bb9411d8..03657deaa0d710c27ceece62de130f82127e11ec 100644
(file)
--- a/
src/msw/spinbutt.cpp
+++ b/
src/msw/spinbutt.cpp
@@
-24,12
+24,15
@@
#include "wx/wx.h"
#endif
#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"
#include "wx/spinbutt.h"
#include "wx/msw/private.h"
-#if
ndef __GNUWIN32__
+#if
!defined(__GNUWIN32__) || defined(__TWIN32__)
#include <commctrl.h>
#endif
#include <commctrl.h>
#endif