Mercurial > dwindows
changeset 169:b2211123274e
Fixed a minor handl leak when destroying conboboxes... the listbox part
would not get destroyed.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 30 Nov 2002 13:15:43 +0000 |
parents | 627e531ca530 |
children | ee6858b7d1c3 |
files | os2/dw.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/os2/dw.c Wed Nov 27 16:54:08 2002 +0000 +++ b/os2/dw.c Sat Nov 30 13:15:43 2002 +0000 @@ -234,6 +234,11 @@ if(ptr) { + WindowData *wd = (WindowData *)ptr; + + if(wd->oldproc) + WinSubclassWindow(handle, wd->oldproc); + dw_window_set_data(handle, NULL, NULL); WinSetWindowPtr(handle, QWP_USER, 0); free(ptr);