mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
Do a more correct check in EDIT_IsInsideDialog ()
svn path=/trunk/; revision=33913
This commit is contained in:
parent
9fe71b1a02
commit
f1d9b70f81
1 changed files with 1 additions and 6 deletions
|
@ -4095,13 +4095,8 @@ static BOOL EDIT_IsInsideDialog(EDITSTATE *es)
|
||||||
{
|
{
|
||||||
if (es->hwndParent && es->hwndParent != GetDesktopWindow())
|
if (es->hwndParent && es->hwndParent != GetDesktopWindow())
|
||||||
{
|
{
|
||||||
PWINDOW pParent = ValidateHwnd( es->hwndParent );
|
if (GetClassLongW (es->hwndParent, GCW_ATOM) == (DWORD)MAKEINTATOM(32770))
|
||||||
|
|
||||||
/* TODO: This should really check fnID instead of ExtraDataSize I guess */
|
|
||||||
if (pParent && pParent->ExtraDataSize >= DLGWINDOWEXTRA)
|
|
||||||
{
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue