forked from Mirrors/wine-wine
comctl32: According to the PSDK, DrawShadowText() takes a non-const RECT pointer.
parent
ed366f22a2
commit
22d09f78fc
|
@ -1528,12 +1528,10 @@ LRESULT WINAPI SetPathWordBreakProc(HWND hwnd, BOOL bSet)
|
||||||
*
|
*
|
||||||
* Draw text with shadow.
|
* Draw text with shadow.
|
||||||
*/
|
*/
|
||||||
int WINAPI DrawShadowText(HDC hdc, LPCWSTR pszText, UINT cch, const RECT *pRect, DWORD dwFlags,
|
int WINAPI DrawShadowText(HDC hdc, LPCWSTR pszText, UINT cch, RECT *rect, DWORD dwFlags,
|
||||||
COLORREF crText, COLORREF crShadow, int ixOffset, int iyOffset)
|
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, rect, dwFlags,
|
||||||
|
|
||||||
FIXME("(%p, %s, %d, %p, %d, 0x%08x, 0x%08x, %d, %d): stub\n", hdc, debugstr_w(pszText), cch, pRect, dwFlags,
|
|
||||||
crText, crShadow, ixOffset, iyOffset);
|
crText, crShadow, ixOffset, iyOffset);
|
||||||
return DrawTextW(hdc, pszText, cch, &rect, DT_LEFT);
|
return DrawTextW(hdc, pszText, cch, rect, DT_LEFT);
|
||||||
}
|
}
|
||||||
|
|
|
@ -713,7 +713,7 @@ BOOL WINAPI GetWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR, DWORD_PTR*);
|
||||||
BOOL WINAPI RemoveWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR);
|
BOOL WINAPI RemoveWindowSubclass(HWND, SUBCLASSPROC, UINT_PTR);
|
||||||
LRESULT WINAPI DefSubclassProc(HWND, UINT, WPARAM, LPARAM);
|
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 */
|
/* Header control */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue