Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
f684bbae
Commit
f684bbae
authored
Sep 20, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/updown: Update buddy on base change.
parent
7ebca409
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
updown.c
dlls/comctl32/tests/updown.c
+1
-1
updown.c
dlls/comctl32/updown.c
+6
-2
No files found.
dlls/comctl32/tests/updown.c
View file @
f684bbae
...
...
@@ -525,7 +525,7 @@ static void test_updown_base(void)
GetWindowTextA
(
edit
,
text
,
sizeof
(
text
)
/
sizeof
(
CHAR
));
/* FIXME: currently hex output isn't properly formatted, but for this
test only change from initial text matters */
todo_wine
ok
(
lstrcmpA
(
text
,
"10"
)
!=
0
,
"Expected '0x000A', got '%s'
\n
"
,
text
);
ok
(
lstrcmpA
(
text
,
"10"
)
!=
0
,
"Expected '0x000A', got '%s'
\n
"
,
text
);
DestroyWindow
(
updown
);
}
...
...
dlls/comctl32/updown.c
View file @
f684bbae
...
...
@@ -1037,9 +1037,13 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, L
case
UDM_SETBASE
:
TRACE
(
"UpDown Ctrl new base(%ld), hwnd=%p
\n
"
,
wParam
,
hwnd
);
if
(
wParam
==
10
||
wParam
==
16
)
{
WPARAM
temp
=
infoPtr
->
Base
;
WPARAM
old_base
=
infoPtr
->
Base
;
infoPtr
->
Base
=
wParam
;
return
temp
;
if
(
old_base
!=
infoPtr
->
Base
)
UPDOWN_SetBuddyInt
(
infoPtr
);
return
old_base
;
}
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment