forked from Mirrors/wine-wine
The static control only needs to invalidate its rect when we SetText.
parent
146b16a9c4
commit
60b1c38e86
|
@ -273,7 +273,6 @@ LRESULT WINAPI StaticWndProc( HWND hWnd, UINT uMsg, WPARAM wParam,
|
||||||
else
|
else
|
||||||
DEFWND_SetText( wndPtr, (LPCSTR)lParam );
|
DEFWND_SetText( wndPtr, (LPCSTR)lParam );
|
||||||
InvalidateRect( hWnd, NULL, FALSE );
|
InvalidateRect( hWnd, NULL, FALSE );
|
||||||
UpdateWindow( hWnd );
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WM_SETFONT:
|
case WM_SETFONT:
|
||||||
|
|
Loading…
Reference in New Issue