mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
Errm... fix build.
svn path=/trunk/; revision=66566
This commit is contained in:
parent
9fe5dd6bb4
commit
96bb81fb65
1 changed files with 3 additions and 3 deletions
|
@ -653,7 +653,7 @@ OnPaint(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
SetBkMode(hdc, TRANSPARENT);
|
SetBkMode(hdc, TRANSPARENT);
|
||||||
|
|
||||||
/* Draw version information */
|
/* Draw version information */
|
||||||
_tsprintf(version, TEXT("ReactOS %d.%d.%d"),
|
_stprintf(version, TEXT("ReactOS %d.%d.%d"),
|
||||||
KERNEL_VERSION_MAJOR,
|
KERNEL_VERSION_MAJOR,
|
||||||
KERNEL_VERSION_MINOR,
|
KERNEL_VERSION_MINOR,
|
||||||
KERNEL_VERSION_PATCH_LEVEL);
|
KERNEL_VERSION_PATCH_LEVEL);
|
||||||
|
@ -712,7 +712,7 @@ OnDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
UNREFERENCED_PARAMETER(hWnd);
|
UNREFERENCED_PARAMETER(hWnd);
|
||||||
UNREFERENCED_PARAMETER(wParam);
|
UNREFERENCED_PARAMETER(wParam);
|
||||||
|
|
||||||
if (lpDis->hWndItem == hWndCloseButton)
|
if (lpDis->hwndItem == hWndCloseButton)
|
||||||
{
|
{
|
||||||
DrawFrameControl(lpDis->hDC,
|
DrawFrameControl(lpDis->hDC,
|
||||||
&lpDis->rcItem,
|
&lpDis->rcItem,
|
||||||
|
@ -743,7 +743,7 @@ OnDrawItem(HWND hWnd, WPARAM wParam, LPARAM lParam)
|
||||||
|
|
||||||
InflateRect(&lpDis->rcItem, -10, -4);
|
InflateRect(&lpDis->rcItem, -10, -4);
|
||||||
OffsetRect(&lpDis->rcItem, 0, 1);
|
OffsetRect(&lpDis->rcItem, 0, 1);
|
||||||
GetWindowText(lpDis->hWndItem, szText, ARRAYSIZE(szText));
|
GetWindowText(lpDis->hwndItem, szText, ARRAYSIZE(szText));
|
||||||
SetTextColor(lpDis->hDC, 0x00000000);
|
SetTextColor(lpDis->hDC, 0x00000000);
|
||||||
iBkMode = SetBkMode(lpDis->hDC, TRANSPARENT);
|
iBkMode = SetBkMode(lpDis->hDC, TRANSPARENT);
|
||||||
DrawText(lpDis->hDC, szText, -1, &lpDis->rcItem, DT_TOP | DT_LEFT | DT_WORDBREAK);
|
DrawText(lpDis->hDC, szText, -1, &lpDis->rcItem, DT_TOP | DT_LEFT | DT_WORDBREAK);
|
||||||
|
|
Loading…
Reference in a new issue