initialize not initialized var

This commit is contained in:
satbaby
2012-11-05 09:24:51 +01:00
parent 5e284c68c3
commit 926e0ce141
12 changed files with 53 additions and 7 deletions

View File

@@ -213,6 +213,8 @@ CMsgBox::~CMsgBox()
void CMsgBox::initVar(void)
{
//TRACE("->CMsgBox::InitVar\r\n");
mode = AUTO_WIDTH;
m_nResult = mbrYes;
m_cTitle = "";
m_cIcon = "";
m_nMode = SCROLL | TITLE | BORDER ;