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
f84a6bdf
Commit
f84a6bdf
authored
Oct 15, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/tooltips: Remove unneeded helper parameter.
parent
38c0d421
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
tooltips.c
dlls/comctl32/tooltips.c
+3
-6
No files found.
dlls/comctl32/tooltips.c
View file @
f84a6bdf
...
...
@@ -213,15 +213,12 @@ TOOLTIPS_InitSystemSettings (TOOLTIPS_INFO *infoPtr)
/* Custom draw routines */
static
void
TOOLTIPS_customdraw_fill
(
NMTTCUSTOMDRAW
*
lpnmttcd
,
const
HWND
hwnd
,
TOOLTIPS_customdraw_fill
(
const
TOOLTIPS_INFO
*
infoPtr
,
NMTTCUSTOMDRAW
*
lpnmttcd
,
HDC
hdc
,
const
RECT
*
rcBounds
,
UINT
uFlags
)
{
TOOLTIPS_INFO
*
infoPtr
=
TOOLTIPS_GetInfoPtr
(
hwnd
);
ZeroMemory
(
lpnmttcd
,
sizeof
(
NMTTCUSTOMDRAW
));
lpnmttcd
->
uDrawFlags
=
uFlags
;
lpnmttcd
->
nmcd
.
hdr
.
hwndFrom
=
hwnd
;
lpnmttcd
->
nmcd
.
hdr
.
hwndFrom
=
infoPtr
->
hwndSelf
;
lpnmttcd
->
nmcd
.
hdr
.
code
=
NM_CUSTOMDRAW
;
if
(
infoPtr
->
nCurrentTool
!=
-
1
)
{
TTTOOL_INFO
*
toolPtr
=
&
infoPtr
->
tools
[
infoPtr
->
nCurrentTool
];
...
...
@@ -276,7 +273,7 @@ TOOLTIPS_Refresh (const TOOLTIPS_INFO *infoPtr, HDC hdc)
/* Custom draw - Call PrePaint once initial properties set up */
/* Note: Contrary to MSDN, CDRF_SKIPDEFAULT still draws a tooltip */
TOOLTIPS_customdraw_fill
(
&
nmttcd
,
infoPtr
->
hwndSelf
,
hdc
,
&
rc
,
uFlags
);
TOOLTIPS_customdraw_fill
(
infoPtr
,
&
nmttcd
,
hdc
,
&
rc
,
uFlags
);
cdmode
=
TOOLTIPS_notify_customdraw
(
CDDS_PREPAINT
,
&
nmttcd
);
uFlags
=
nmttcd
.
uDrawFlags
;
...
...
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