projects
/
wine
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41fd380
)
comctl32: Make modal property sheets modal.
author
Lei Zhang
<thestig@google.com>
Fri, 15 Jun 2007 01:41:43 +0000
(18:41 -0700)
committer
Alexandre Julliard
<julliard@winehq.org>
Fri, 15 Jun 2007 11:24:13 +0000
(13:24 +0200)
dlls/comctl32/propsheet.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/comctl32/propsheet.c
b/dlls/comctl32/propsheet.c
index
8740f01
..
04929c5
100644
(file)
--- a/
dlls/comctl32/propsheet.c
+++ b/
dlls/comctl32/propsheet.c
@@
-2836,7
+2836,12
@@
INT_PTR WINAPI PropertySheetA(LPCPROPSHEETHEADERA lppsh)
bRet = PROPSHEET_CreateDialog(psInfo);
if(!psInfo->isModeless)
+ {
+ HWND parent = GetParent(psInfo->hwnd);
+ if (parent) EnableWindow(parent, FALSE);
bRet = do_loop(psInfo);
+ if (parent) EnableWindow(parent, TRUE);
+ }
return bRet;
}