Index: src/widgets/pgdropdown.cpp =================================================================== RCS file: /cvsroot/paragui/paragui/src/widgets/pgdropdown.cpp,v retrieving revision 1.3.6.3.2.19 diff -u -r1.3.6.3.2.19 pgdropdown.cpp --- src/widgets/pgdropdown.cpp 30 Jan 2005 11:59:10 -0000 1.3.6.3.2.19 +++ src/widgets/pgdropdown.cpp 11 Jun 2005 07:50:26 -0000 @@ -59,7 +59,9 @@ } PG_DropDown::~PG_DropDown() { - delete my_DropList; + if(GetWidgetList()->Remove(this)) { + delete my_DropList; + } } void PG_DropDown::LoadThemeStyle(const std::string& style) {