fixed logging in Usage()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@8014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-08-10 14:41:49 +00:00
parent a198ebda98
commit d212f35a39

View File

@@ -862,12 +862,13 @@ void wxCmdLineParser::Usage()
}
}
wxString fullmsg;
if ( !!m_data->m_logo )
{
wxLogMessage(m_data->m_logo);
fullmsg << m_data->m_logo << _T('\n');
}
wxLogMessage(brief);
fullmsg << brief << _T('\n');
// now construct the detailed help message
size_t len, lenMax = 0;
@@ -889,7 +890,8 @@ void wxCmdLineParser::Usage()
<< _T('\n');
}
wxLogMessage(detailed);
fullmsg << detailed;
wxLogMessage(fullmsg);
}
// ----------------------------------------------------------------------------