mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:52:57 +00:00
- Fix MSC build.
svn path=/trunk/; revision=56842
This commit is contained in:
parent
cd217d6680
commit
6c424f7832
1 changed files with 2 additions and 1 deletions
|
@ -1216,6 +1216,7 @@ User32DefWindowProc(HWND hWnd,
|
||||||
case WM_PAINT:
|
case WM_PAINT:
|
||||||
{
|
{
|
||||||
PAINTSTRUCT Ps;
|
PAINTSTRUCT Ps;
|
||||||
|
HDC hDC;
|
||||||
|
|
||||||
/* If already in Paint and Client area is not empty just return. */
|
/* If already in Paint and Client area is not empty just return. */
|
||||||
if (pWnd->state2 & WNDS2_STARTPAINT && !IsRectEmpty(&pWnd->rcClient))
|
if (pWnd->state2 & WNDS2_STARTPAINT && !IsRectEmpty(&pWnd->rcClient))
|
||||||
|
@ -1224,7 +1225,7 @@ User32DefWindowProc(HWND hWnd,
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
HDC hDC = BeginPaint(hWnd, &Ps);
|
hDC = BeginPaint(hWnd, &Ps);
|
||||||
if (hDC)
|
if (hDC)
|
||||||
{
|
{
|
||||||
HICON hIcon;
|
HICON hIcon;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue