ole32: Always create a window for the main apartment.

This commit is contained in:
Rob Shearman 2007-11-30 18:06:07 +00:00 committed by Alexandre Julliard
parent 9f8d379fb3
commit f65e04770d
1 changed files with 3 additions and 0 deletions

View File

@ -305,6 +305,9 @@ static APARTMENT *apartment_get_or_create(DWORD model)
}
LeaveCriticalSection(&csApartment);
if (apt->main)
apartment_createwindowifneeded(apt);
}
else
{