user32/tests: Remove superfluous code from WM_PAINT loop test.
This commit is contained in:
parent
c3c712c17f
commit
3dcd46f597
|
@ -4863,8 +4863,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||||
{
|
{
|
||||||
static UINT ncredrawflags;
|
static UINT ncredrawflags;
|
||||||
PAINTSTRUCT ps;
|
PAINTSTRUCT ps;
|
||||||
RECT rect;
|
|
||||||
BOOL updateRectValue;
|
|
||||||
|
|
||||||
switch(msg)
|
switch(msg)
|
||||||
{
|
{
|
||||||
|
@ -4872,7 +4870,6 @@ static LRESULT CALLBACK TestNCRedraw_WndProc(HWND hwnd, UINT msg, WPARAM wParam,
|
||||||
ncredrawflags = *(UINT *) (((CREATESTRUCT *)lParam)->lpCreateParams);
|
ncredrawflags = *(UINT *) (((CREATESTRUCT *)lParam)->lpCreateParams);
|
||||||
return 0;
|
return 0;
|
||||||
case WM_NCPAINT:
|
case WM_NCPAINT:
|
||||||
updateRectValue = GetUpdateRect(hwnd, &rect, FALSE);
|
|
||||||
RedrawWindow(hwnd, NULL, NULL, ncredrawflags);
|
RedrawWindow(hwnd, NULL, NULL, ncredrawflags);
|
||||||
break;
|
break;
|
||||||
case WM_PAINT:
|
case WM_PAINT:
|
||||||
|
|
Loading…
Reference in New Issue