aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-01-26 06:25:59 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2005-01-26 06:25:59 +0000
commitb7a51e1b2a28136ed641f62aab34a9feb159a462 (patch)
tree80ee83a5c08e5f3c93803845a961eb8f1f15ac71 /winsup
parent9df58602b69f36522d9715c3c3f3516c72e981d9 (diff)
downloadnewlib-b7a51e1b2a28136ed641f62aab34a9feb159a462.zip
newlib-b7a51e1b2a28136ed641f62aab34a9feb159a462.tar.gz
newlib-b7a51e1b2a28136ed641f62aab34a9feb159a462.tar.bz2
* include/winuser.h (SW_SMOOTHSCROLL): Add define.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog5
-rw-r--r--winsup/w32api/include/winuser.h3
2 files changed, 8 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index 8dc4475..11bc67d 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-26 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/winuser.h (SW_SMOOTHSCROLL): Add define.
+ Reported by: Christian Ehrlicher <chehrlic@users.sf.net>
+
2005-01-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/commdlg.h (OFN_DONTADDTORECENT): Added definition.
diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h
index c8881e7..892ffe8 100644
--- a/winsup/w32api/include/winuser.h
+++ b/winsup/w32api/include/winuser.h
@@ -2079,6 +2079,9 @@ extern "C" {
#define SW_SCROLLCHILDREN 1
#define SW_INVALIDATE 2
#define SW_ERASE 4
+#if (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500)
+#define SW_SMOOTHSCROLL 0x0010
+#endif /* (_WIN32_WINDOWS >= 0x0410 || _WIN32_WINNT >= 0x0500) */
#define SC_SIZE 0xF000
#define SC_MOVE 0xF010
#define SC_MINIMIZE 0xF020