mirror of
https://github.com/reactos/wine.git
synced 2025-02-02 02:04:34 +00:00
user32: Don't print CreateWindow warning for HWND_MESSAGE windows.
This commit is contained in:
parent
c94763b420
commit
67cbdfb575
@ -320,8 +320,10 @@ static BOOL CDECL nulldrv_CreateDesktopWindow( HWND hwnd )
|
||||
static BOOL CDECL nulldrv_CreateWindow( HWND hwnd )
|
||||
{
|
||||
static int warned;
|
||||
if (warned++)
|
||||
return FALSE;
|
||||
|
||||
/* HWND_MESSAGE windows don't need a graphics driver */
|
||||
if (GetAncestor( hwnd, GA_PARENT ) == get_user_thread_info()->msg_window) return TRUE;
|
||||
if (warned++) return FALSE;
|
||||
|
||||
MESSAGE( "Application tried to create a window, but no driver could be loaded.\n");
|
||||
switch (driver_load_error)
|
||||
|
Loading…
x
Reference in New Issue
Block a user