Rob Shearman : ole32: Always create a window for the main apartment.
Alexandre Julliard
julliard at winehq.org
Mon Dec 3 09:17:41 CST 2007
Module: wine
Branch: master
Commit: f65e04770dc5748521a0de73814cea0b085bf3f8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f65e04770dc5748521a0de73814cea0b085bf3f8
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Nov 30 18:06:07 2007 +0000
ole32: Always create a window for the main apartment.
---
dlls/ole32/compobj.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index bb10e9f..6cee5b9 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -305,6 +305,9 @@ static APARTMENT *apartment_get_or_create(DWORD model)
}
LeaveCriticalSection(&csApartment);
+
+ if (apt->main)
+ apartment_createwindowifneeded(apt);
}
else
{
More information about the wine-cvs
mailing list