Mercurial > dwindows
diff os2/dw.c @ 210:b9c7b762c104
When comparing the desktop value, use the queried value not the constant.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 01 Feb 2003 10:05:27 +0000 |
parents | 767fca804cea |
children | f2d1e231922e |
line wrap: on
line diff
--- a/os2/dw.c Sat Feb 01 09:53:56 2003 +0000 +++ b/os2/dw.c Sat Feb 01 10:05:27 2003 +0000 @@ -3354,7 +3354,7 @@ if(!handle) return -1; - if(parent != HWND_DESKTOP && thisbox && thisbox->count) + if(parent != desktop && thisbox && thisbox->count) { int z, index = -1; Item *tmpitem, *thisitem = thisbox->items;