ole32: Always create a window for the main apartment.
This commit is contained in:
parent
9f8d379fb3
commit
f65e04770d
|
@ -305,6 +305,9 @@ static APARTMENT *apartment_get_or_create(DWORD model)
|
||||||
}
|
}
|
||||||
|
|
||||||
LeaveCriticalSection(&csApartment);
|
LeaveCriticalSection(&csApartment);
|
||||||
|
|
||||||
|
if (apt->main)
|
||||||
|
apartment_createwindowifneeded(apt);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue