mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:15:41 +00:00
Return a valid (empty) visible region when the window is not visible
svn path=/trunk/; revision=8736
This commit is contained in:
parent
800b2b0dcf
commit
c88c8baba9
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*
|
*
|
||||||
* $Id: vis.c,v 1.22 2004/02/29 17:43:41 navaraf Exp $
|
* $Id: vis.c,v 1.23 2004/03/14 20:31:55 gvg Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -47,7 +47,7 @@ VIS_ComputeVisibleRegion(
|
||||||
|
|
||||||
if (!(Window->Style & WS_VISIBLE))
|
if (!(Window->Style & WS_VISIBLE))
|
||||||
{
|
{
|
||||||
return NULL;
|
return NtGdiCreateRectRgn(0, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ClientArea)
|
if (ClientArea)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue