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
22d09f78
Commit
22d09f78
authored
Jul 31, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: According to the PSDK, DrawShadowText() takes a non-const RECT pointer.
parent
ed366f22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
commctrl.c
dlls/comctl32/commctrl.c
+3
-5
commctrl.h
include/commctrl.h
+1
-1
No files found.
dlls/comctl32/commctrl.c
View file @
22d09f78
...
...
@@ -1528,12 +1528,10 @@ LRESULT WINAPI SetPathWordBreakProc(HWND hwnd, BOOL bSet)
*
* Draw text with shadow.
*/
int
WINAPI
DrawShadowText
(
HDC
hdc
,
LPCWSTR
pszText
,
UINT
cch
,
const
RECT
*
pR
ect
,
DWORD
dwFlags
,
int
WINAPI
DrawShadowText
(
HDC
hdc
,
LPCWSTR
pszText
,
UINT
cch
,
RECT
*
r
ect
,
DWORD
dwFlags
,
COLORREF
crText
,
COLORREF
crShadow
,
int
ixOffset
,
int
iyOffset
)
{
RECT
rect
=
*
pRect
;
FIXME
(
"(%p, %s, %d, %p, %d, 0x%08x, 0x%08x, %d, %d): stub
\n
"
,
hdc
,
debugstr_w
(
pszText
),
cch
,
pRect
,
dwFlags
,
FIXME
(
"(%p, %s, %d, %p, %d, 0x%08x, 0x%08x, %d, %d): stub
\n
"
,
hdc
,
debugstr_w
(
pszText
),
cch
,
rect
,
dwFlags
,
crText
,
crShadow
,
ixOffset
,
iyOffset
);
return
DrawTextW
(
hdc
,
pszText
,
cch
,
&
rect
,
DT_LEFT
);
return
DrawTextW
(
hdc
,
pszText
,
cch
,
rect
,
DT_LEFT
);
}
include/commctrl.h
View file @
22d09f78
...
...
@@ -713,7 +713,7 @@ BOOL WINAPI GetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR*);
BOOL
WINAPI
RemoveWindowSubclass
(
HWND
,
SUBCLASSPROC
,
UINT_PTR
);
LRESULT
WINAPI
DefSubclassProc
(
HWND
,
UINT
,
WPARAM
,
LPARAM
);
int
WINAPI
DrawShadowText
(
HDC
,
LPCWSTR
,
UINT
,
const
RECT
*
,
DWORD
,
COLORREF
,
COLORREF
,
int
,
int
);
int
WINAPI
DrawShadowText
(
HDC
,
LPCWSTR
,
UINT
,
RECT
*
,
DWORD
,
COLORREF
,
COLORREF
,
int
,
int
);
/* Header control */
...
...
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