mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 05:36:56 +00:00
comctl32: Make modal property sheets modal.
This commit is contained in:
parent
41fd380005
commit
ebb460c3c0
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user