Enable widget debugging

This commit is contained in:
Eduardo Bart
2012-07-28 08:43:48 -03:00
parent 4566472662
commit 497902736c
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ UIWidget::UIWidget()
UIWidget::~UIWidget()
{
assert(!g_app.isTerminated());
#ifdef DEBUG
#ifndef NDEBUG
if(!m_destroyed)
g_logger.warning(stdext::format("widget '%s' was not explicitly destroyed", m_id));
#endif