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
cacb60cb
Commit
cacb60cb
authored
Oct 17, 2022
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Oct 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/updown: Don't repaint when handling WM_STYLECHANGED.
parent
b7624fb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
misc.c
dlls/comctl32/tests/misc.c
+1
-1
updown.c
dlls/comctl32/updown.c
+1
-3
No files found.
dlls/comctl32/tests/misc.c
View file @
cacb60cb
...
@@ -1110,7 +1110,7 @@ static void test_WM_STYLECHANGED(void)
...
@@ -1110,7 +1110,7 @@ static void test_WM_STYLECHANGED(void)
{
TOOLTIPS_CLASSA
,
wm_stylechanged_seq
},
{
TOOLTIPS_CLASSA
,
wm_stylechanged_seq
},
{
TRACKBAR_CLASSA
,
wm_stylechanged_trackbar_seq
,
TRUE
},
{
TRACKBAR_CLASSA
,
wm_stylechanged_trackbar_seq
,
TRUE
},
{
WC_TREEVIEWA
,
wm_stylechanged_seq
},
{
WC_TREEVIEWA
,
wm_stylechanged_seq
},
{
UPDOWN_CLASSA
,
wm_stylechanged_seq
,
TRUE
},
{
UPDOWN_CLASSA
,
wm_stylechanged_seq
},
{
WC_SCROLLBARA
,
wm_stylechanged_seq
},
{
WC_SCROLLBARA
,
wm_stylechanged_seq
},
};
};
...
...
dlls/comctl32/updown.c
View file @
cacb60cb
...
@@ -955,10 +955,8 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, L
...
@@ -955,10 +955,8 @@ static LRESULT WINAPI UpDownWindowProc(HWND hwnd, UINT message, WPARAM wParam, L
break
;
break
;
case
WM_STYLECHANGED
:
case
WM_STYLECHANGED
:
if
(
wParam
==
GWL_STYLE
)
{
if
(
wParam
==
GWL_STYLE
)
infoPtr
->
dwStyle
=
((
LPSTYLESTRUCT
)
lParam
)
->
styleNew
;
infoPtr
->
dwStyle
=
((
LPSTYLESTRUCT
)
lParam
)
->
styleNew
;
InvalidateRect
(
infoPtr
->
Self
,
NULL
,
FALSE
);
}
break
;
break
;
case
WM_THEMECHANGED
:
case
WM_THEMECHANGED
:
...
...
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