Mercurial > dwindows
changeset 111:1e406d67b178
Readded a piece of code I accidentally removed.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 22 Sep 2002 13:26:34 +0000 |
parents | d4c1a9ebc72f |
children | cf0115e38ef0 |
files | win/dw.c |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/win/dw.c Sun Sep 22 13:03:39 2002 +0000 +++ b/win/dw.c Sun Sep 22 13:26:34 2002 +0000 @@ -2034,6 +2034,17 @@ _click_default(cinfo->clickdefault); } + + /* Tell the spinner control that a keypress has + * occured and to update it's internal value. + */ + if(cinfo->buddy && !cinfo->combo) + { + if(IsWinNT()) + PostMessage(cinfo->buddy, WM_USER+10, 0, 0); + else + SendMessage(cinfo->buddy, WM_USER+10, 0, 0); + } break; case WM_USER+10: {