git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58269
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// start from the most recent message
wxString message;
const size_t nMsgCount = messages.size();
// start from the most recent message
wxString message;
const size_t nMsgCount = messages.size();
- str.reserve(nMsgCount*100);
+ message.reserve(nMsgCount*100);
for ( size_t n = nMsgCount; n > 0; n-- ) {
message << m_aMessages[n - 1] << wxT("\n");
}
for ( size_t n = nMsgCount; n > 0; n-- ) {
message << m_aMessages[n - 1] << wxT("\n");
}