user32: Don't make constants static to avoid compile error without optimization.

This commit is contained in:
Alexandre Julliard 2010-07-24 11:17:05 +02:00
parent 54f049a656
commit bde57f0e64
1 changed files with 2 additions and 2 deletions

View File

@ -909,8 +909,8 @@ BOOL WINAPI EndPaint( HWND hwnd, const PAINTSTRUCT *lps )
*/
HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags )
{
static const DWORD clip_flags = DCX_PARENTCLIP | DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | DCX_WINDOW;
static const DWORD user_flags = clip_flags | DCX_NORESETATTRS; /* flags that can be set by user */
const DWORD clip_flags = DCX_PARENTCLIP | DCX_CLIPSIBLINGS | DCX_CLIPCHILDREN | DCX_WINDOW;
const DWORD user_flags = clip_flags | DCX_NORESETATTRS; /* flags that can be set by user */
struct dce *dce;
BOOL bUpdateVisRgn = TRUE;
HWND parent;