coming from the wxDbTable destructor. (im pasting the call stack below)
i defined wxUSE_STL 1 when i built the library (wich explains why is the assert coming from std::list)
im using wxWidgets 2.7, VC2005 express, WinXP
i wonder if its a bug in wxWidgets, or in the stl implementation of VC
i guess i better go back to 2.63 and *NO* wxUSE_STL (there were bugs in 2.63 when wxUSE_STL also)
heres the call stack:
Ive.exe!std::_Debug_message(const wchar_t * message=0x00aa8024, const wchar_t * file=0x00aaadd0, unsigned int line=309) Line 23 C++
> Ive.exe!std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1>::_Compat(const std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1> & _Right=0xcdcdcdcd {m_refData=??? }) Line 309 + 0x14 bytes C++
Ive.exe!std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1>::operator==(const std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1> & _Right=0xcdcdcdcd {m_refData=??? }) Line 290 C++
Ive.exe!std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1>::operator!=(const std::list<wxObject *,std::allocator<wxObject *> >::_Const_iterator<1> & _Right=0xcdcdcdcd {m_refData=??? }) Line 295 + 0xc bytes C++
Ive.exe!wxObjectList::compatibility_iterator::operator bool() Line 1174 + 0x8c bytes C++
Ive.exe!wxDbTable::cleanup() Line 325 + 0x8 bytes C++
Ive.exe!wxDbTable::~wxDbTable() Line 127 C++
Ive.exe!TablaUsuarios::~TablaUsuarios() Line 84 + 0xf bytes C++